public class CDN extends ProblemTransformationMethod implements weka.core.Randomizable, weka.core.TechnicalInformationHandler
Modifier and Type | Field and Description |
---|---|
protected weka.core.Instances[] |
D_templates |
protected weka.classifiers.Classifier[] |
h |
protected int |
I |
protected int |
I_c |
protected Random |
m_R |
protected int |
m_S |
m_InstancesTemplate
Constructor and Description |
---|
CDN() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances D) |
double[] |
distributionForInstance(weka.core.Instance x) |
int |
getI()
GetI - Get the number of iterations.
|
int |
getIc()
GetIc - Get the number of collection iterations.
|
String[] |
getOptions() |
String |
getRevision() |
int |
getSeed() |
weka.core.TechnicalInformation |
getTechnicalInformation() |
String |
globalInfo()
Description to display in the GUI.
|
String |
icTipText() |
String |
iTipText() |
Enumeration |
listOptions() |
static void |
main(String[] args) |
String |
seedTipText() |
void |
setI(int i)
SetI - Sets the number of iterations.
|
void |
setIc(int ic)
SetIc - Sets the number of collection iterations.
|
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 weka.classifiers.Classifier[] h
protected Random m_R
protected weka.core.Instances[] D_templates
protected int I
protected int I_c
protected int m_S
public void buildClassifier(weka.core.Instances D) throws Exception
buildClassifier
in interface weka.classifiers.Classifier
buildClassifier
in class ProblemTransformationMethod
Exception
public double[] distributionForInstance(weka.core.Instance x) throws Exception
distributionForInstance
in interface weka.classifiers.Classifier
distributionForInstance
in class ProblemTransformationMethod
Exception
public void setSeed(int s)
setSeed
in interface weka.core.Randomizable
public int getSeed()
getSeed
in interface weka.core.Randomizable
public String seedTipText()
public int getI()
public void setI(int i)
public String iTipText()
public int getIc()
public void setIc(int ic)
public String icTipText()
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 static void main(String[] args)
public String globalInfo()
globalInfo
in class ProblemTransformationMethod
public weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface weka.core.TechnicalInformationHandler
public String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class ProblemTransformationMethod
Copyright © 2017. All Rights Reserved.