public class NaiveBayesUpdateable extends NaiveBayes implements UpdateableClassifier
@inproceedings{John1995, address = {San Mateo}, author = {George H. John and Pat Langley}, booktitle = {Eleventh Conference on Uncertainty in Artificial Intelligence}, pages = {338-345}, publisher = {Morgan Kaufmann}, title = {Estimating Continuous Distributions in Bayesian Classifiers}, year = {1995} }Valid options are:
-K Use kernel density estimator rather than normal distribution for numeric attributes
-D Use supervised discretization to process numeric attributes
-O Display model in old format (good when there are many classes)
BATCH_SIZE_DEFAULT, NUM_DECIMAL_PLACES_DEFAULT
Constructor and Description |
---|
NaiveBayesUpdateable() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRevision()
Returns the revision string.
|
TechnicalInformation |
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing
detailed information about the technical background of this class,
e.g., paper reference or book this class is based on.
|
java.lang.String |
globalInfo()
Returns a string describing this classifier
|
static void |
main(java.lang.String[] argv)
Main method for testing this class.
|
void |
setUseSupervisedDiscretization(boolean newblah)
Set whether supervised discretization is to be used.
|
aggregate, buildClassifier, displayModelInOldFormatTipText, distributionForInstance, finalizeAggregation, getCapabilities, getClassEstimator, getConditionalEstimators, getDisplayModelInOldFormat, getHeader, getOptions, getUseKernelEstimator, getUseSupervisedDiscretization, listOptions, setDisplayModelInOldFormat, setOptions, setUseKernelEstimator, toString, updateClassifier, useKernelEstimatorTipText, useSupervisedDiscretizationTipText
batchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, postExecution, preExecution, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlaces
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
updateClassifier
makeCopy
public java.lang.String globalInfo()
globalInfo
in class NaiveBayes
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler
getTechnicalInformation
in class NaiveBayes
public void setUseSupervisedDiscretization(boolean newblah)
setUseSupervisedDiscretization
in class NaiveBayes
newblah
- true if supervised discretization is to be used.public java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class NaiveBayes
public static void main(java.lang.String[] argv)
argv
- the options