public class PS extends LC implements weka.core.Randomizable, weka.core.TechnicalInformationHandler
LC,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected int |
m_N |
protected int |
m_P |
protected int |
m_S |
m_InstancesTemplateBATCH_SIZE_DEFAULT, m_BatchSize, m_Debug, m_DoNotCheckCapabilities, m_numDecimalPlaces, NUM_DECIMAL_PLACES_DEFAULTBayesNet, 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, toStringdefaultClassifierString, evaluation, getCapabilities, getModel, getTemplate, makeCopies, runClassifier, testCapabilitiesclassifierTipText, defaultClassifierOptions, getClassifier, getClassifierSpec, postExecution, preExecution, setClassifierbatchSizeTipText, classifyInstance, debugTipText, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDebug, getDoNotCheckCapabilities, getNumDecimalPlaces, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, run, runClassifier, setBatchSize, setDebug, setDoNotCheckCapabilities, setNumDecimalPlacesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdebugTipText, getDebug, setDebugpublic String globalInfo()
globalInfo in class LCpublic weka.core.TechnicalInformation getTechnicalInformation()
getTechnicalInformation in interface weka.core.TechnicalInformationHandlerpublic 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.Randomizablepublic int getSeed()
getSeed in interface weka.core.Randomizablepublic String seedTipText()
public Enumeration listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class weka.classifiers.SingleClassifierEnhancerpublic void setOptions(String[] options) throws Exception
setOptions in interface weka.core.OptionHandlersetOptions in class weka.classifiers.SingleClassifierEnhancerExceptionpublic String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class weka.classifiers.SingleClassifierEnhancerpublic void buildClassifier(weka.core.Instances D)
throws Exception
buildClassifier in interface weka.classifiers.ClassifierbuildClassifier in class LCExceptionpublic String getRevision()
getRevision in interface weka.core.RevisionHandlergetRevision in class LCpublic static void main(String[] args)
Copyright © 2017. All Rights Reserved.