public abstract class ClassificationGenerator extends DataGenerator
Constructor and Description |
---|
ClassificationGenerator()
initializes with default values
|
Modifier and Type | Method and Description |
---|---|
int |
getNumExamples()
Gets the number of examples, given by option.
|
java.lang.String[] |
getOptions()
Gets the current settings of the classifier.
|
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
java.lang.String |
numExamplesTipText()
Returns the tip text for this property
|
void |
setNumExamples(int numExamples)
Sets the number of examples, given by option.
|
void |
setOptions(java.lang.String[] options)
Sets the options.
|
debugTipText, defaultOutput, defineDataFormat, formatTipText, generateExample, generateExamples, generateFinished, generateStart, getDatasetFormat, getDebug, getNumExamplesAct, getOutput, getRandom, getRelationName, getSeed, getSingleModeFlag, makeData, outputTipText, randomTipText, relationNameTipText, seedTipText, setDatasetFormat, setDebug, setOutput, setRandom, setRelationName, setSeed
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRevision
public ClassificationGenerator()
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
listOptions
in class DataGenerator
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
setOptions
in class DataGenerator
options
- the optionsjava.lang.Exception
- if invalid optionpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class DataGenerator
DataGenerator.removeBlacklist(String[])
public void setNumExamples(int numExamples)
numExamples
- the new number of examplespublic int getNumExamples()
public java.lang.String numExamplesTipText()