public class IsotonicRegression extends Classifier implements WeightedInstancesHandler
-D If set, classifier is run in debug mode and may output additional info to the console
Constructor and Description |
---|
IsotonicRegression() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(Instances insts)
Builds an isotonic regression model given the supplied training data.
|
double |
classifyInstance(Instance inst)
Generate a prediction for the supplied instance.
|
Capabilities |
getCapabilities()
Returns default capabilities of the classifier.
|
java.lang.String |
getRevision()
Returns the revision string.
|
java.lang.String |
globalInfo()
Returns a string describing this classifier
|
static void |
main(java.lang.String[] argv)
Main method for testing this class
|
java.lang.String |
toString()
Returns a description of this classifier as a string
|
debugTipText, distributionForInstance, forName, getDebug, getOptions, listOptions, makeCopies, makeCopy, setDebug, setOptions
public java.lang.String globalInfo()
public double classifyInstance(Instance inst) throws java.lang.Exception
classifyInstance
in class Classifier
inst
- the instance to predict.java.lang.Exception
- if an error occurspublic Capabilities getCapabilities()
getCapabilities
in interface CapabilitiesHandler
getCapabilities
in class Classifier
Capabilities
public void buildClassifier(Instances insts) throws java.lang.Exception
buildClassifier
in class Classifier
insts
- the training data.java.lang.Exception
- if an error occurspublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class Classifier
public static void main(java.lang.String[] argv)
argv
- options