|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.filters.Filter
weka.filters.supervised.attribute.gpattributegeneration.GPAttributeGeneration
public class GPAttributeGeneration
Implementation of a genetic programming system in the WEKA input space
Constructor Summary | |
---|---|
GPAttributeGeneration()
|
Method Summary | |
---|---|
boolean |
batchFinished()
|
java.lang.String |
fitnessEvaluationMethodTipText()
Fitness evaluation method help text |
java.lang.String |
functionsTipText()
Returns the help text for the GUI. |
Capabilities |
getCapabilities()
|
SelectedTag |
getFitnessEvaluationMethod()
|
java.lang.String |
getFunctions()
Returns the property |
int |
getMaxDepth()
Returns the property |
int |
getMaxTime()
Returns the property |
int |
getNumberOfGenerations()
Returns the property |
java.lang.String |
getOperatorProportion()
Returns the property |
java.lang.String[] |
getOptions()
Gets the options currently set for the class |
SelectedTag |
getPopulationGenerationMethod()
Returns the property |
int |
getPopulationSize()
Returns the property |
long |
getSeed()
Get the seed |
SelectedTag |
getSelectionMethod()
|
double |
getTargetTreeAccuracy()
Returns the property |
java.lang.String |
globalInfo()
|
java.util.Enumeration |
listOptions()
|
static void |
main(java.lang.String[] args)
Main method |
java.lang.String |
maxDepthTipText()
Returns the help text for the GUI. |
java.lang.String |
maxTimeTipText()
Returns the help text for the GUI. |
java.lang.String |
numberOfGenerationsTipText()
Returns the help text for the GUI. |
java.lang.String |
operatorProportionTipText()
Returns the help text for the GUI. |
java.lang.String |
populationGenerationMethodTipText()
Returns the help text for the GUI |
java.lang.String |
populationSizeTipText()
Returns the help text for the GUI. |
java.lang.String |
seedTipText()
Seed tip text for the GUI |
java.lang.String |
selectionMethodTipText()
selection method tip text |
void |
setFitnessEvaluationMethod(SelectedTag evalMethod)
|
void |
setFunctions(java.lang.String func)
Sets the property |
void |
setMaxDepth(int depth)
Sets the property |
void |
setMaxTime(int maxtime)
Checks whether supplied value is valid and updates maxTime if it is; throws exception if not |
void |
setNumberOfGenerations(int gens)
Checks whether supplied value is valid and updates maxNumGenerations if it is; throws exception if not |
void |
setOperatorProportion(java.lang.String ops)
Sets the property |
void |
setOptions(java.lang.String[] options)
Sets the options via the command line |
void |
setPopulationGenerationMethod(SelectedTag popGenTag)
Sets the property |
void |
setPopulationSize(int pSize)
Checks whether supplied value is valid and updates popSize if it is; throws exception if not |
void |
setSeed(long seed)
Set the seed value for the random number generator |
void |
setSelectionMethod(SelectedTag selMethod)
|
void |
setTargetTreeAccuracy(double treeAccuracy)
Checks whether supplied value is valid and updates targetTreeAccuracy if it is; throws exception if not |
java.lang.String |
targetTreeAccuracyTipText()
Returns the help text for the GUI. |
Methods inherited from class weka.filters.Filter |
---|
batchFilterFile, filterFile, getCapabilities, getOutputFormat, getRevision, input, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, runFilter, setInputFormat, toString, useFilter, wekaStaticWrapper |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GPAttributeGeneration()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- the options, use "-h" to display optionspublic boolean batchFinished() throws java.lang.Exception
batchFinished
in class Filter
java.lang.Exception
public java.lang.String globalInfo()
public Capabilities getCapabilities()
getCapabilities
in interface CapabilitiesHandler
getCapabilities
in class Filter
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
options
- A parameter and an argument are always two elements in the array
java.lang.Exception
- If an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
public void setPopulationSize(int pSize) throws java.lang.Exception
pSize
- The chosen population size
java.lang.Exception
- The specified value is invalidpublic int getPopulationSize()
public java.lang.String populationSizeTipText()
public void setNumberOfGenerations(int gens) throws java.lang.Exception
gens
- The chosen number of generations to run
java.lang.Exception
- The specified value is invalidpublic int getNumberOfGenerations()
public java.lang.String numberOfGenerationsTipText()
public void setMaxTime(int maxtime) throws java.lang.Exception
maxtime
- The max time
java.lang.Exception
- The specified value is invalidpublic int getMaxTime()
public java.lang.String maxTimeTipText()
public void setTargetTreeAccuracy(double treeAccuracy) throws java.lang.Exception
treeAccuracy
- The target accuracy
java.lang.Exception
- The specified value is invalidpublic double getTargetTreeAccuracy()
public java.lang.String targetTreeAccuracyTipText()
public void setFunctions(java.lang.String func)
func
- The functionspublic java.lang.String getFunctions()
public java.lang.String functionsTipText()
public void setMaxDepth(int depth) throws java.lang.Exception
func
- The max depth
java.lang.Exception
public int getMaxDepth()
public java.lang.String maxDepthTipText()
public void setOperatorProportion(java.lang.String ops) throws java.lang.Exception
ops
- The operators to set
java.lang.Exception
public java.lang.String getOperatorProportion()
public java.lang.String operatorProportionTipText()
public void setPopulationGenerationMethod(SelectedTag popGenTag)
popGenTag
- The initial generation to usepublic SelectedTag getPopulationGenerationMethod()
public java.lang.String populationGenerationMethodTipText()
public SelectedTag getFitnessEvaluationMethod()
public void setFitnessEvaluationMethod(SelectedTag evalMethod)
fitnessEvaluationMethod
- the fitnessEvaluationMethod to setpublic java.lang.String fitnessEvaluationMethodTipText()
public SelectedTag getSelectionMethod()
public void setSelectionMethod(SelectedTag selMethod)
selMethod
- the selectionMethod to setpublic java.lang.String selectionMethodTipText()
public long getSeed()
public void setSeed(long seed)
seed
- The specified seed valuepublic java.lang.String seedTipText()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |