weka.classifiers.bayes.net.estimate
Class DiscreteEstimatorFullBayes
java.lang.Object
weka.estimators.Estimator
weka.classifiers.bayes.net.estimate.DiscreteEstimatorBayes
weka.classifiers.bayes.net.estimate.DiscreteEstimatorFullBayes
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Scoreable, CapabilitiesHandler, OptionHandler, RevisionHandler
public class DiscreteEstimatorFullBayes
- extends DiscreteEstimatorBayes
Symbolic probability estimator based on symbol counts and a prior.
- Version:
- $Revision: 1.3 $
- Author:
- Remco Bouckaert (rrb@xm.co.nz)
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getRevision()
Returns the revision string. |
static void |
main(java.lang.String[] argv)
Main method for testing this class. |
Methods inherited from class weka.estimators.Estimator |
addValues, addValues, addValues, addValues, buildEstimator, buildEstimator, clone, debugTipText, equals, forName, getCapabilities, getDebug, getOptions, listOptions, makeCopies, makeCopy, setDebug, setOptions, testCapabilities |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
DiscreteEstimatorFullBayes
public DiscreteEstimatorFullBayes(int nSymbols,
double w1,
double w2,
DiscreteEstimatorBayes EmptyDist,
DiscreteEstimatorBayes ClassDist,
double fPrior)
- Constructor
- Parameters:
nSymbols
- the number of possible symbols (remember to include 0)w1
- w2
- EmptyDist
- ClassDist
- fPrior
-
getRevision
public java.lang.String getRevision()
- Returns the revision string.
- Specified by:
getRevision
in interface RevisionHandler
- Overrides:
getRevision
in class DiscreteEstimatorBayes
- Returns:
- the revision
main
public static void main(java.lang.String[] argv)
- Main method for testing this class.
- Parameters:
argv
- should contain a sequence of integers which
will be treated as symbolic.