public class DiscreteEstimatorFullBayes extends DiscreteEstimatorBayes
Constructor and Description |
---|
DiscreteEstimatorFullBayes(int nSymbols,
double w1,
double w2,
DiscreteEstimatorBayes EmptyDist,
DiscreteEstimatorBayes ClassDist,
double fPrior)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRevision()
Returns the revision string.
|
static void |
main(java.lang.String[] argv)
Main method for testing this class.
|
addValue, getCount, getNumSymbols, getProbability, logScore, toString
addValues, addValues, addValues, addValues, buildEstimator, buildEstimator, clone, debugTipText, equals, forName, getCapabilities, getDebug, getOptions, listOptions, makeCopies, makeCopy, setDebug, setOptions, testCapabilities
public DiscreteEstimatorFullBayes(int nSymbols, double w1, double w2, DiscreteEstimatorBayes EmptyDist, DiscreteEstimatorBayes ClassDist, double fPrior)
nSymbols
- the number of possible symbols (remember to include 0)w1
- w2
- EmptyDist
- ClassDist
- fPrior
- public java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class DiscreteEstimatorBayes
public static void main(java.lang.String[] argv)
argv
- should contain a sequence of integers which
will be treated as symbolic.