|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.filters.supervised.attribute.gpattributegeneration.GPSystem
public class GPSystem
Starts a complete run of the GP system
Constructor Summary | |
---|---|
GPSystem(Instances instances,
int popSize,
int maxNumGenerations,
int maxTime,
double targetFitness,
java.util.ArrayList<java.lang.String> functions,
int maxDepth,
double[] operatorProp,
EnumGenerationMethod popGenMethod,
java.util.Random rand,
EnumFitnessEvaluationMethod evalMethod,
EnumSelectionMethod selMethod,
Classifier classifier,
long seed)
Constructor to pass in data and variables for the GP system |
Method Summary | |
---|---|
java.util.ArrayList<java.lang.String> |
getSelectedIndividuals()
Returns the selected individuals from the population. |
void |
run()
Runs the GP System using the previously specified data |
java.lang.String |
toString()
Outputs the results of a GP System run |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GPSystem(Instances instances, int popSize, int maxNumGenerations, int maxTime, double targetFitness, java.util.ArrayList<java.lang.String> functions, int maxDepth, double[] operatorProp, EnumGenerationMethod popGenMethod, java.util.Random rand, EnumFitnessEvaluationMethod evalMethod, EnumSelectionMethod selMethod, Classifier classifier, long seed)
instances
- Data instances to run thru GP systempopSize
- Initial population sizenumOfGenerations
- Number of generations to go through before stoppingmaxTime
- Max time the GP system can run for before stoppingtargetFitness
- Target fitness to stop atfunctions
- Functions that can be used as nodes of the program treesmaxDepth
- Maximum depth of program treesoperatorProp
- Operator proportion to usepopGenMethod
- Method to use to generate the populationevalMethod
- Fitness evaluation method to useselMethod
- Selection method to useclassifier
- The classifier to use for fitness evaluationseed
- The seed the Rand object started with (for results output)Method Detail |
---|
public void run()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.ArrayList<java.lang.String> getSelectedIndividuals()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |