public class NaiveBayesTrainer extends AbstractEventTrainer
| Modifier and Type | Field and Description | 
|---|---|
static String | 
NAIVE_BAYES_VALUE  | 
DATA_INDEXER_ONE_PASS_REAL_VALUE, DATA_INDEXER_ONE_PASS_VALUE, DATA_INDEXER_PARAM, DATA_INDEXER_TWO_PASS_VALUEALGORITHM_PARAM, CUTOFF_DEFAULT, CUTOFF_PARAM, ITERATIONS_DEFAULT, ITERATIONS_PARAM, TRAINER_TYPE_PARAM, VERBOSE_DEFAULT, VERBOSE_PARAMEVENT_VALUE| Constructor and Description | 
|---|
NaiveBayesTrainer()  | 
NaiveBayesTrainer(TrainingParameters parameters)  | 
| Modifier and Type | Method and Description | 
|---|---|
AbstractModel | 
doTrain(DataIndexer indexer)  | 
boolean | 
isSortAndMerge()  | 
AbstractModel | 
trainModel(DataIndexer di)  | 
getDataIndexer, isValid, train, train, validategetAlgorithm, getCutoff, getIterations, init, initequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, initpublic static final String NAIVE_BAYES_VALUE
public NaiveBayesTrainer()
public NaiveBayesTrainer(TrainingParameters parameters)
public boolean isSortAndMerge()
isSortAndMerge in class AbstractEventTrainerpublic AbstractModel doTrain(DataIndexer indexer) throws IOException
doTrain in class AbstractEventTrainerIOExceptionpublic AbstractModel trainModel(DataIndexer di)
Copyright © 2021 The Apache Software Foundation. All rights reserved.