| java.lang.Object weka.estimators.Estimator weka.estimators.MahalanobisEstimator
MahalanobisEstimator | public class MahalanobisEstimator extends Estimator implements IncrementalEstimator(Code) | | Simple probability estimator that places a single normal distribution
over the observed values.
author: Len Trigg (trigg@cs.waikato.ac.nz) version: $Revision: 1.7 $ |
MahalanobisEstimator | public MahalanobisEstimator(Matrix covariance, double constDelta, double valueMean)(Code) | | Constructor
Parameters: covariance - Parameters: constDelta - Parameters: valueMean - |
addValue | public void addValue(double data, double weight)(Code) | | Add a new data value to the current estimator. Does nothing because the
data is provided in the constructor.
Parameters: data - the new data value Parameters: weight - the weight assigned to the data value |
getCapabilities | public Capabilities getCapabilities()(Code) | | Returns default capabilities of the classifier.
the capabilities of this classifier |
getProbability | public double getProbability(double data)(Code) | | Get a probability estimate for a value
Parameters: data - the value to estimate the probability of the estimated probability of the supplied value |
main | public static void main(String[] argv)(Code) | | Main method for testing this class.
Parameters: argv - should contain a sequence of numeric values |
toString | public String toString()(Code) | | Display a representation of this estimator
|
Methods inherited from weka.estimators.Estimator | public void addValue(double data, double weight)(Code)(Java Doc) public void addValues(Instances data, int attrIndex) throws Exception(Code)(Java Doc) public void addValues(Instances data, int attrIndex, double min, double max, double factor) throws Exception(Code)(Java Doc) public void addValues(Instances data, int attrIndex, int classIndex, int classValue) throws Exception(Code)(Java Doc) public void addValues(Instances data, int attrIndex, int classIndex, int classValue, double min, double max) throws Exception(Code)(Java Doc) public static void buildEstimator(Estimator est, String[] options, boolean isIncremental) throws Exception(Code)(Java Doc) public static void buildEstimator(Estimator est, Instances instances, int attrIndex, int classIndex, int classValueIndex, boolean isIncremental) throws Exception(Code)(Java Doc) public static Estimator clone(Estimator model) throws Exception(Code)(Java Doc) public String debugTipText()(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public static Estimator forName(String name, String[] options) throws Exception(Code)(Java Doc) public Capabilities getCapabilities()(Code)(Java Doc) public boolean getDebug()(Code)(Java Doc) public String[] getOptions()(Code)(Java Doc) abstract public double getProbability(double data)(Code)(Java Doc) public Enumeration listOptions()(Code)(Java Doc) public static Estimator[] makeCopies(Estimator model, int num) throws Exception(Code)(Java Doc) public static Estimator makeCopy(Estimator model) throws Exception(Code)(Java Doc) public void setDebug(boolean debug)(Code)(Java Doc) public void setOptions(String[] options) throws Exception(Code)(Java Doc) public void testCapabilities(Instances data, int attrIndex) throws Exception(Code)(Java Doc)
|
|
|