public class RAkELd extends PS implements weka.core.TechnicalInformationHandler
k
still indicates the size of partitions, although anything more than L/2 just causes the classifier to default to PS
).RAkEL
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected int[][] |
kMap |
protected weka.classifiers.Classifier[] |
m_Classifiers |
protected weka.core.Instances[] |
m_InstancesTemplates |
m_InstancesTemplate
BATCH_SIZE_DEFAULT, m_BatchSize, m_Debug, m_DoNotCheckCapabilities, m_numDecimalPlaces, NUM_DECIMAL_PLACES_DEFAULT
BayesNet, Newick, NOT_DRAWABLE, TREE
Constructor and Description |
---|
RAkELd() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances D) |
double[] |
distributionForInstance(weka.core.Instance x) |
int |
getK()
GetK - Get the k parameter (size of partitions).
|
String[] |
getOptions() |
String |
getRevision() |
weka.core.TechnicalInformation |
getTechnicalInformation() |
String |
globalInfo()
Description to display in the GUI.
|
String |
kTipText() |
Enumeration |
listOptions() |
static void |
main(String[] args) |
void |
setK(int k)
SetP - Sets the k parameter (size of partitions)
|
void |
setOptions(String[] options) |
String |
toString() |
getN, getP, getSeed, nTipText, pTipText, seedTipText, setN, setP, setSeed
defaultClassifierString, evaluation, getCapabilities, getModel, getTemplate, makeCopies, runClassifier, testCapabilities
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[] m_Classifiers
protected weka.core.Instances[] m_InstancesTemplates
protected int[][] kMap
public String globalInfo()
globalInfo
in class PS
public void buildClassifier(weka.core.Instances D) throws Exception
buildClassifier
in interface weka.classifiers.Classifier
buildClassifier
in class PS
Exception
public double[] distributionForInstance(weka.core.Instance x) throws Exception
distributionForInstance
in interface weka.classifiers.Classifier
distributionForInstance
in class LC
Exception
public int getK()
public void setK(int k)
public String kTipText()
public Enumeration listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class PS
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class PS
Exception
public String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class PS
public weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface weka.core.TechnicalInformationHandler
getTechnicalInformation
in class PS
public String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class PS
public static void main(String[] args)
Copyright © 2017. All Rights Reserved.