public class NaiveBayes extends Object implements org.apache.flink.ml.api.Estimator<NaiveBayes,NaiveBayesModel>, NaiveBayesParams<NaiveBayes>
See https://en.wikipedia.org/wiki/Naive_Bayes_classifier.
SMOOTHINGMODEL_TYPEFEATURES_COLPREDICTION_COLLABEL_COL| 构造器和说明 |
|---|
NaiveBayes() |
| 限定符和类型 | 方法和说明 |
|---|---|
NaiveBayesModel |
fit(org.apache.flink.table.api.Table... inputs) |
Map<org.apache.flink.ml.param.Param<?>,Object> |
getParamMap() |
static NaiveBayes |
load(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env,
String path) |
void |
save(String path) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSmoothing, setSmoothinggetModelType, setModelTypegetFeaturesCol, setFeaturesColgetPredictionCol, setPredictionColgetLabelCol, setLabelColpublic NaiveBayesModel fit(org.apache.flink.table.api.Table... inputs)
fit 在接口中 org.apache.flink.ml.api.Estimator<NaiveBayes,NaiveBayesModel>public void save(String path) throws IOException
save 在接口中 org.apache.flink.ml.api.Stage<NaiveBayes>IOExceptionpublic static NaiveBayes 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<NaiveBayes>Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.