All Packages Class Hierarchy This Package Previous Next Index WEKA's home
java.lang.Object | +----weka.estimators.DNConditionalEstimator
public DNConditionalEstimator(int numSymbols, double precision)
numSymbols
- the number of symbols
precision
- the precision to which numeric values are given. For
example, if the precision is stated to be 0.1, the values in the
interval (0.25,0.35] are all treated as 0.3.
public void addValue(double data, double given, double weight)
data
- the new data value
given
- the new value that data is conditional upon
weight
- the weight assigned to the data value
public Estimator getEstimator(double given)
data
- the value to estimate the probability of
given
- the new value that data is conditional upon
public double getProbability(double data, double given)
data
- the value to estimate the probability of
given
- the new value that data is conditional upon
public java.lang.String toString()
public static void main(java.lang.String argv[])
argv
- should contain a sequence of pairs of integers which
will be treated as pairs of symbolic, numeric.
All Packages Class Hierarchy This Package Previous Next Index WEKA's home