public class NaiveBayesClassifier extends AbstractClassifier
Algorithm.EdgeDirectionmode, OUTPUTERRORALGORITHM, PREDICT, TRAINFactoryALGORITHMARRAY, COMPRESSED, DECOMPRESSED, DIFFERENCE, DIMENSION, HASH, IGNORENAN, INPUT, PREDICTED, RMSE, SOURCE, TARGET, WEIGHTDESCRIPTION| Constructor and Description |
|---|
NaiveBayesClassifier() |
NaiveBayesClassifier(String inputLabel) |
| Modifier and Type | Method and Description |
|---|---|
Classifier |
emptyCopy() |
Matrix |
predictOne(Matrix input) |
void |
reset() |
void |
trainAll(ListDataSet dataSet) |
getClassCount, getFeatureCount, getInputLabel, getMode, getOutputErrorAlgorithm, getTargetLabel, getWeightLabel, isDiscrete, predictAll, predictOne, setInputLabel, setMode, setOutputErrorAlgorithm, setTargetLabel, setWeightLabel, trainOne, trainOne, trainOneaddVariableKey, calculate, calculate, calculate, calculate, calculateObjects, calculateObjects, calculateObjects, clear, getAlgorithmMap, getDataSetMap, getDescription, getEdgeDirection, getEdgeLabel, getId, getInputKeys, getLabel, getLabelObject, getOutputKeys, getVariableKeys, getVariableMap, setAlgorithm, setDescription, setEdgeDirection, setEdgeLabel, setId, setLabel, setVariable, setVariables, toStringclone, fireValueChanged, getCoreObjectId, getGUIObject, showGUIequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClassCount, getFeatureCount, getInputLabel, getTargetLabel, isDiscrete, predictAll, predictOne, trainOne, trainOne, trainOneclone, getCoreObjectIdfireValueChanged, getGUIObject, showGUIpublic NaiveBayesClassifier()
public NaiveBayesClassifier(String inputLabel)
public void reset()
public void trainAll(ListDataSet dataSet)
public Classifier emptyCopy()
Copyright © 2015 Java Data Mining Package. All rights reserved.