public class VarianceThresholdSelectorModelData extends Object
VarianceThresholdSelectorModel
.
This class also provides methods to convert model data from Table to a data stream, and classes to save/load model data.
Modifier and Type | Class and Description |
---|---|
static class |
VarianceThresholdSelectorModelData.ModelDataDecoder
Decoder for
VarianceThresholdSelectorModelData . |
static class |
VarianceThresholdSelectorModelData.ModelDataEncoder
Encoder for
VarianceThresholdSelectorModelData . |
Modifier and Type | Field and Description |
---|---|
int[] |
indices |
int |
numOfFeatures |
Constructor and Description |
---|
VarianceThresholdSelectorModelData() |
VarianceThresholdSelectorModelData(int numOfFeatures,
int[] indices) |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.streaming.api.datastream.DataStream<VarianceThresholdSelectorModelData> |
getModelDataStream(org.apache.flink.table.api.Table modelDataTable)
Converts the table model to a data stream.
|
public VarianceThresholdSelectorModelData()
public VarianceThresholdSelectorModelData(int numOfFeatures, int[] indices)
public static org.apache.flink.streaming.api.datastream.DataStream<VarianceThresholdSelectorModelData> getModelDataStream(org.apache.flink.table.api.Table modelDataTable)
modelDataTable
- The table model data.Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.