net.sf.bddbddb.order
Class BaggedId3
java.lang.Object
weka.classifiers.Classifier
net.sf.bddbddb.order.ClassProbabilityEstimator
net.sf.bddbddb.order.BaggedId3
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, weka.core.OptionHandler
public class BaggedId3
- extends ClassProbabilityEstimator
- Author:
- Administrator
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
- See Also:
- Serialized Form
Fields inherited from class weka.classifiers.Classifier |
m_Debug |
Methods inherited from class weka.classifiers.Classifier |
debugTipText, forName, getDebug, getOptions, listOptions, makeCopies, setDebug, setOptions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUM_TREES
public static final int NUM_TREES
- See Also:
- Constant Field Values
BaggedId3
public BaggedId3()
setWeights
public void setWeights(double[] weights)
setWeight
public void setWeight(int index,
double value)
buildClassifier
public void buildClassifier(weka.core.Instances data)
throws java.lang.Exception
- Specified by:
buildClassifier
in class weka.classifiers.Classifier
- Throws:
java.lang.Exception
classifyInstance
public double classifyInstance(weka.core.Instance instance)
- Overrides:
classifyInstance
in class weka.classifiers.Classifier
classProbability
public double classProbability(weka.core.Instance instance,
double targetClass)
- Specified by:
classProbability
in class ClassProbabilityEstimator
distributionForInstance
public double[] distributionForInstance(weka.core.Instance instance)
throws weka.core.NoSupportForMissingValuesException
- Overrides:
distributionForInstance
in class weka.classifiers.Classifier
- Throws:
weka.core.NoSupportForMissingValuesException
classVariance
public double classVariance(weka.core.Instance instance,
double targetClass)
- Specified by:
classVariance
in class ClassProbabilityEstimator
varianceForInstance
public double[] varianceForInstance(weka.core.Instance instance)
throws weka.core.NoSupportForMissingValuesException
- Throws:
weka.core.NoSupportForMissingValuesException
getData
public weka.core.Instances getData()
- Specified by:
getData
in class ClassProbabilityEstimator
Copyright © 2004-2008 Stanford SUIF Compiler Group. All Rights Reserved.