类 NaiveBayesUpdateable
java.lang.Object
weka.classifiers.Classifier
weka.classifiers.bayes.NaiveBayes
weka.classifiers.bayes.NaiveBayesUpdateable
- 所有已实现的接口:
Serializable
,Cloneable
,UpdateableClassifier
,CapabilitiesHandler
,OptionHandler
,RevisionHandler
,TechnicalInformationHandler
,WeightedInstancesHandler
Class for a Naive Bayes classifier using estimator classes. This is the updateable version of NaiveBayes.
This classifier will use a default precision of 0.1 for numeric attributes when buildClassifier is called with zero training instances.
For more information on Naive Bayes classifiers, see
George H. John, Pat Langley: Estimating Continuous Distributions in Bayesian Classifiers. In: Eleventh Conference on Uncertainty in Artificial Intelligence, San Mateo, 338-345, 1995. BibTeX:
This classifier will use a default precision of 0.1 for numeric attributes when buildClassifier is called with zero training instances.
For more information on Naive Bayes classifiers, see
George H. John, Pat Langley: Estimating Continuous Distributions in Bayesian Classifiers. In: Eleventh Conference on Uncertainty in Artificial Intelligence, San Mateo, 338-345, 1995. BibTeX:
@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)
- 版本:
- $Revision: 1.11 $
- 作者:
- Len Trigg (trigg@cs.waikato.ac.nz), Eibe Frank (eibe@cs.waikato.ac.nz)
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the revision string.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.Returns a string describing this classifierstatic void
Main method for testing this class.void
setUseSupervisedDiscretization
(boolean newblah) Set whether supervised discretization is to be used.从类继承的方法 weka.classifiers.bayes.NaiveBayes
buildClassifier, displayModelInOldFormatTipText, distributionForInstance, getCapabilities, getDisplayModelInOldFormat, getOptions, getUseKernelEstimator, getUseSupervisedDiscretization, listOptions, setDisplayModelInOldFormat, setOptions, setUseKernelEstimator, toString, updateClassifier, useKernelEstimatorTipText, useSupervisedDiscretizationTipText
从类继承的方法 weka.classifiers.Classifier
classifyInstance, debugTipText, forName, getDebug, makeCopies, makeCopy, setDebug
从接口继承的方法 weka.classifiers.UpdateableClassifier
updateClassifier
-
构造器详细资料
-
NaiveBayesUpdateable
public NaiveBayesUpdateable()
-
-
方法详细资料
-
globalInfo
Returns a string describing this classifier- 覆盖:
globalInfo
在类中NaiveBayes
- 返回:
- a description of the classifier suitable for displaying in the explorer/experimenter gui
-
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.- 指定者:
getTechnicalInformation
在接口中TechnicalInformationHandler
- 覆盖:
getTechnicalInformation
在类中NaiveBayes
- 返回:
- the technical information about this class
-
setUseSupervisedDiscretization
public void setUseSupervisedDiscretization(boolean newblah) Set whether supervised discretization is to be used.- 覆盖:
setUseSupervisedDiscretization
在类中NaiveBayes
- 参数:
newblah
- true if supervised discretization is to be used.
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中NaiveBayes
- 返回:
- the revision
-
main
Main method for testing this class.- 参数:
argv
- the options
-