|
||||||||||
| 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.RandomizableDistributionGenerator
public abstract class RandomizableDistributionGenerator
An abstract superclass for randomizable generators that make use of mean and standard deviation.
| Constructor Summary | |
|---|---|
RandomizableDistributionGenerator()
|
|
| Method Summary | |
|---|---|
double |
getMean()
Gets the current mean of the underlying Gaussian distribution. |
java.lang.String[] |
getOptions()
Gets the current settings of the generator. |
double |
getStandardDeviation()
Gets the current standard deviation of the underlying distribution. |
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options. |
java.lang.String |
meanTipText()
Returns the tip text for this property. |
void |
setMean(double value)
Sets the mean of the Gaussian distribution to a new mean. |
void |
setOptions(java.lang.String[] options)
Parses a given list of options. |
void |
setStandardDeviation(double value)
Sets the standard deviation of the distribution to a new value. |
java.lang.String |
standardDeviationTipText()
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 RandomizableDistributionGenerator()
| Method Detail |
|---|
public java.util.Enumeration listOptions()
listOptions in interface OptionHandlerlistOptions in class RandomizableGenerator
public void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface OptionHandlersetOptions in class RandomizableGeneratoroptions - 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 OptionHandlergetOptions in class RandomizableGeneratorpublic double getMean()
public void setMean(double value)
setMean in interface Meanvalue - The new mean for the distribution.public java.lang.String meanTipText()
public double getStandardDeviation()
public void setStandardDeviation(double value)
setStandardDeviation in interface Meanvalue - The new standard deviation.public java.lang.String standardDeviationTipText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||