Package
weka.attributeSelection
Synopsis
GeneticSearch:
Performs a search using the simple genetic algorithm described in Goldberg (1989).
For more information see:
David E. Goldberg (1989). Genetic algorithms in search, optimization and machine learning. Addison-Wesley.
Available in Weka 3.6.x - 3.7.1. Available via the package management system for Weka >= 3.7.2 (attributeSelectionSearchMethods)
Options
The table below describes the options available for GeneticSearch.
Option | Description |
---|---|
crossoverProb | Set the probability of crossover. This is the probability that two population members will exchange genetic material. |
maxGenerations | Set the number of generations to evaluate. |
mutationProb | Set the probability of mutation occuring. |
populationSize | Set the population size. This is the number of individuals (attribute sets) in the population. |
reportFrequency | Set how frequently reports are generated. Default is equal to the number of generations meaning that a report will be printed for initial and final generations. Setting the value to 5 will result in a report being printed every 5 generations. |
seed | Set the random seed. |
startSet | Set a start point for the search. This is specified as a comma seperated list off attribute indexes starting at 1. It can include ranges. Eg. 1,2,5-9,17. The start set becomes one of the population members of the initial population. |