public class BRq extends ProblemTransformationMethod implements weka.core.Randomizable, weka.core.TechnicalInformationHandler
BR
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected double |
m_DownSampleRatio
The downsample ratio
|
protected weka.classifiers.Classifier[] |
m_MultiClassifiers |
protected Random |
m_Random |
protected int |
m_S
The random generator
|
m_InstancesTemplate
Constructor and Description |
---|
BRq() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances data) |
protected weka.core.Instance[] |
convertInstance(weka.core.Instance instance,
int c) |
double[] |
distributionForInstance(weka.core.Instance instance) |
String |
downSampleRatioTipText() |
double |
getDownSampleRatio() |
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 value) |
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 weka.classifiers.Classifier[] m_MultiClassifiers
public String globalInfo()
globalInfo
in class ProblemTransformationMethod
public weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface weka.core.TechnicalInformationHandler
public void buildClassifier(weka.core.Instances data) throws Exception
buildClassifier
in interface weka.classifiers.Classifier
buildClassifier
in class ProblemTransformationMethod
Exception
protected weka.core.Instance[] convertInstance(weka.core.Instance instance, int c)
public double[] distributionForInstance(weka.core.Instance instance) 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 void setDownSampleRatio(double value)
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 String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class ProblemTransformationMethod
public static void main(String[] args)
Copyright © 2017. All Rights Reserved.