public class PS extends LC implements weka.core.Randomizable, weka.core.TechnicalInformationHandler
LC
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected int |
m_N |
protected int |
m_P |
protected int |
m_S |
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 |
---|
PS() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(weka.core.Instances D) |
int |
getN()
GetN - Get the subsampling value N.
|
String[] |
getOptions() |
int |
getP()
GetP - Get the pruning value P.
|
String |
getRevision() |
int |
getSeed() |
weka.core.TechnicalInformation |
getTechnicalInformation() |
String |
globalInfo()
Description to display in the GUI.
|
Enumeration |
listOptions() |
static void |
main(String[] args) |
String |
nTipText() |
String |
pTipText() |
String |
seedTipText() |
void |
setN(int n)
SetN - Sets the subsampling value N, the (maximum) number of frequent labelsets to subsample from the infrequent labelsets.
|
void |
setOptions(String[] options) |
void |
setP(int p)
SetP - Sets the pruning value P, defining an infrequent labelset as one which occurs less than P times in the data (P = 0 defaults to LC).
|
void |
setSeed(int s)
SetSeed - Use random P and N values (in this case P and N arguments determine a range of values to select from randomly, e.g., -P 1-5 selects P randomly in {1,2,3,4,5}.
|
distributionForInstance, graph, graphType, toString
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
public String globalInfo()
globalInfo
in class LC
public weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface weka.core.TechnicalInformationHandler
public int getP()
public void setP(int p)
public String pTipText()
public int getN()
public void setN(int n)
public String nTipText()
public void setSeed(int s)
setSeed
in interface weka.core.Randomizable
public int getSeed()
getSeed
in interface weka.core.Randomizable
public String seedTipText()
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 D) throws Exception
buildClassifier
in interface weka.classifiers.Classifier
buildClassifier
in class LC
Exception
public String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class LC
public static void main(String[] args)
Copyright © 2017. All Rights Reserved.