public abstract class RegressionGenerator extends DataGenerator
public static void main(String[] args) { try { DataGenerator.makeData(new RandomGenerator(), args); } catch (Exception e) { e.printStackTrace(); System.err.println(e.getMessage()); } }
Constructor and Description |
---|
RegressionGenerator()
initializes the generator 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<Option> |
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, enumToVector, formatTipText, generateExample, generateExamples, generateFinished, generateStart, getDatasetFormat, getDebug, getEpilogue, getNumExamplesAct, getOutput, getPrologue, getRandom, getRelationName, getSeed, getSingleModeFlag, makeData, outputTipText, randomTipText, relationNameTipText, runDataGenerator, seedTipText, setDatasetFormat, setDebug, setOutput, setRandom, setRelationName, setSeed
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeCopy
getRevision
public RegressionGenerator()
public java.util.Enumeration<Option> 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()