Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weka.classifiers.bayes.net.estimate
Class DiscreteEstimatorFullBayes

    java.lang.Object
      weka.classifiers.bayes.net.estimate.DiscreteEstimatorBayes
          weka.classifiers.bayes.net.estimate.DiscreteEstimatorFullBayes

All Implemented Interfaces:
  java.io.Serializable, Scoreable, Estimator

    public class DiscreteEstimatorFullBayes

extends DiscreteEstimatorBayes

Symbolic probability estimator based on symbol counts and a prior.

Version:
  $Revision: 1.1 $
Author:
  Remco Bouckaert (rrb@xm.co.nz)
See Also:
  Serialized Form

Field Summary

Fields inherited from interface weka.classifiers.bayes.net.search.local.Scoreable
`AIC, BAYES, BDeu, ENTROPY, MDL`

Constructor Summary
`DiscreteEstimatorFullBayes(int nSymbols, double w1, double w2, DiscreteEstimatorBayes EmptyDist, DiscreteEstimatorBayes ClassDist, double fPrior)` Constructor

Method Summary
`static void` | `main(java.lang.String[] argv)` Main method for testing this class.

Methods inherited from class weka.classifiers.bayes.net.estimate.DiscreteEstimatorBayes
`addValue, getCount, getNumSymbols, getProbability, logScore, toString`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### 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)
    `laplace` - if true, counts will be initialised to 1

Method Detail

### 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.

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD