|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.meta.generators.Generator
weka.classifiers.meta.generators.RandomizableGenerator
weka.classifiers.meta.generators.RandomizableRangedGenerator
public abstract class RandomizableRangedGenerator
Abstract superclass for generators that take ranges and use a seeded random number generator internally
Constructor Summary | |
---|---|
RandomizableRangedGenerator()
|
Method Summary | |
---|---|
double |
getLowerRange()
Gets the lower range of the generator. |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier. |
double |
getUpperRange()
Gets the upper range of the generator. |
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options. |
java.lang.String |
lowerRangeTipText()
Returns the tip text for this property. |
void |
setLowerRange(double value)
Sets the lower range. |
void |
setOptions(java.lang.String[] options)
Parses a given list of options. |
void |
setUpperRange(double value)
Sets the upper range. |
java.lang.String |
upperRangeTipText()
Returns the tip text for this property. |
Methods inherited from class weka.classifiers.meta.generators.RandomizableGenerator |
---|
getSeed, seedTipText, setSeed |
Methods inherited from class weka.classifiers.meta.generators.Generator |
---|
copy, debugTipText, forName, generate, getDebug, getLogProbabilityOf, getProbabilityOf, globalInfo, setDebug |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomizableRangedGenerator()
Method Detail |
---|
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
listOptions
in class RandomizableGenerator
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
setOptions
in class RandomizableGenerator
options
- the list of options as an array of strings
java.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class RandomizableGenerator
public double getLowerRange()
public void setLowerRange(double value)
setLowerRange
in interface Ranged
value
- The lower range of the generator.public java.lang.String lowerRangeTipText()
public double getUpperRange()
public void setUpperRange(double value)
setUpperRange
in interface Ranged
value
- The upper range of the generator.public java.lang.String upperRangeTipText()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |