public class RT extends ProblemTransformationMethod
m_InstancesTemplate
Constructor and Description |
---|
RT() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances D) |
weka.core.Instance |
convertInstance(weka.core.Instance x)
ConvertInstance - Convert an Instance to multi-class format by deleting all but one of the label attributes.
|
double[] |
distributionForInstance(weka.core.Instance x) |
String |
getRevision() |
String |
globalInfo()
Description to display in the GUI.
|
static void |
main(String[] args) |
defaultClassifierString, evaluation, getCapabilities, getModel, getTemplate, makeCopies, runClassifier, testCapabilities, toString
classifierTipText, defaultClassifierOptions, getClassifier, getClassifierSpec, getOptions, listOptions, postExecution, preExecution, setClassifier, setOptions
batchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlaces
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
debugTipText, getDebug, setDebug
public String globalInfo()
globalInfo
in class ProblemTransformationMethod
public void buildClassifier(weka.core.Instances D) throws Exception
buildClassifier
in interface weka.classifiers.Classifier
buildClassifier
in class ProblemTransformationMethod
Exception
public weka.core.Instance convertInstance(weka.core.Instance x)
x
- incoming Instancepublic double[] distributionForInstance(weka.core.Instance x) throws Exception
distributionForInstance
in interface weka.classifiers.Classifier
distributionForInstance
in class ProblemTransformationMethod
Exception
public String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class ProblemTransformationMethod
public static void main(String[] args)
Copyright © 2017. All Rights Reserved.