public class CCq extends ProblemTransformationMethod implements weka.core.Randomizable, weka.core.TechnicalInformationHandler
Modifier and Type | Class and Description |
---|---|
protected class |
CCq.QLink |
Modifier and Type | Field and Description |
---|---|
protected double |
m_DownSampleRatio
The downsample ratio
|
protected int |
m_NumClasses
The number of classes
|
protected Random |
m_Random |
protected int |
m_S
The random generator
|
protected CCq.QLink |
root |
m_InstancesTemplate
Constructor and Description |
---|
CCq() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances Train) |
double[] |
distributionForInstance(weka.core.Instance test) |
String |
downSampleRatioTipText() |
double |
getDownSampleRatio()
Get the downsample ratio
|
String[] |
getOptions() |
String |
getRevision() |
int |
getSeed() |
weka.core.TechnicalInformation |
getTechnicalInformation() |
String |
globalInfo()
Description to display in the GUI.
|
Enumeration |
listOptions() |
static void |
main(String[] args) |
String |
seedTipText() |
void |
setDownSampleRatio(double r)
Set the downsample ratio
|
void |
setOptions(String[] options) |
void |
setSeed(int s) |
defaultClassifierString, evaluation, getCapabilities, getModel, getTemplate, makeCopies, runClassifier, testCapabilities, toString
classifierTipText, defaultClassifierOptions, getClassifier, getClassifierSpec, postExecution, preExecution, setClassifier
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
protected double m_DownSampleRatio
protected int m_S
protected Random m_Random
protected int m_NumClasses
protected CCq.QLink root
public String globalInfo()
globalInfo
in class ProblemTransformationMethod
public weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface weka.core.TechnicalInformationHandler
public int getSeed()
getSeed
in interface weka.core.Randomizable
public void setSeed(int s)
setSeed
in interface weka.core.Randomizable
public String seedTipText()
public void setDownSampleRatio(double r)
public double getDownSampleRatio()
public String downSampleRatioTipText()
public Enumeration listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class weka.classifiers.SingleClassifierEnhancer
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class weka.classifiers.SingleClassifierEnhancer
Exception
public String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class weka.classifiers.SingleClassifierEnhancer
public void buildClassifier(weka.core.Instances Train) throws Exception
buildClassifier
in interface weka.classifiers.Classifier
buildClassifier
in class ProblemTransformationMethod
Exception
public double[] distributionForInstance(weka.core.Instance test) 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.