public class NaiveBayesModel extends Object implements org.apache.flink.ml.api.Model<NaiveBayesModel>, NaiveBayesModelParams<NaiveBayesModel>
NaiveBayes.MODEL_TYPEFEATURES_COLPREDICTION_COL| 构造器和说明 |
|---|
NaiveBayesModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.table.api.Table[] |
getModelData() |
Map<org.apache.flink.ml.param.Param<?>,Object> |
getParamMap() |
static NaiveBayesModel |
load(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env,
String path) |
void |
save(String path) |
NaiveBayesModel |
setModelData(org.apache.flink.table.api.Table... inputs) |
org.apache.flink.table.api.Table[] |
transform(org.apache.flink.table.api.Table... inputs) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModelType, setModelTypegetFeaturesCol, setFeaturesColgetPredictionCol, setPredictionColpublic org.apache.flink.table.api.Table[] transform(org.apache.flink.table.api.Table... inputs)
transform 在接口中 org.apache.flink.ml.api.AlgoOperator<NaiveBayesModel>public void save(String path) throws IOException
save 在接口中 org.apache.flink.ml.api.Stage<NaiveBayesModel>IOExceptionpublic static NaiveBayesModel load(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env, String path) throws IOException
IOExceptionpublic Map<org.apache.flink.ml.param.Param<?>,Object> getParamMap()
getParamMap 在接口中 org.apache.flink.ml.param.WithParams<NaiveBayesModel>public NaiveBayesModel setModelData(org.apache.flink.table.api.Table... inputs)
setModelData 在接口中 org.apache.flink.ml.api.Model<NaiveBayesModel>public org.apache.flink.table.api.Table[] getModelData()
getModelData 在接口中 org.apache.flink.ml.api.Model<NaiveBayesModel>Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.