类 CountVectorizerModelData
- java.lang.Object
-
- org.apache.flink.ml.feature.countvectorizer.CountVectorizerModelData
-
public class CountVectorizerModelData extends Object
Model data ofCountVectorizerModel.This class also provides methods to convert model data from Table to a data stream, and classes to save/load model data.
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classCountVectorizerModelData.ModelDataDecoderDecoder forCountVectorizerModelData.static classCountVectorizerModelData.ModelDataEncoderEncoder forCountVectorizerModelData.
-
字段概要
字段 修饰符和类型 字段 说明 String[]vocabularyThe array over terms, only the terms in the vocabulary will be counted.
-
构造器概要
构造器 构造器 说明 CountVectorizerModelData()CountVectorizerModelData(String[] vocabulary)
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static org.apache.flink.streaming.api.datastream.DataStream<CountVectorizerModelData>getModelDataStream(org.apache.flink.table.api.Table modelDataTable)Converts the table model to a data stream.
-
-
-
字段详细资料
-
vocabulary
public String[] vocabulary
The array over terms, only the terms in the vocabulary will be counted.
-
-
构造器详细资料
-
CountVectorizerModelData
public CountVectorizerModelData()
-
CountVectorizerModelData
public CountVectorizerModelData(String[] vocabulary)
-
-
方法详细资料
-
getModelDataStream
public static org.apache.flink.streaming.api.datastream.DataStream<CountVectorizerModelData> getModelDataStream(org.apache.flink.table.api.Table modelDataTable)
Converts the table model to a data stream.- 参数:
modelDataTable- The table model data.- 返回:
- The data stream model data.
-
-