fitnessSplits.BigBang {galgo} | R Documentation |
Computes the fitness function from chromosomes for different splits.
## S3 method for class 'BigBang' fitnessSplits(o, filter="none", subset=TRUE, fitnessFunc=o$data$modelSelectionFunc, maxCache=1e+06, chromosomes=NULL, use.cache=TRUE, ...)
filter |
The |
subset |
Second level of filter. |
fitnessFunc |
The function that provides the fitness for every chromosome. If the fitness is “split-sensitive” it should returns only one value (like the common |
maxCache |
The maximum number of values to be saved in the |
chromosomes |
The chromosomes to process. The default is using |
use.cache |
Save/Restore values from previous computations with same parameters. |
A Matrix with chromosomes in rows and splits in columns. Each value is the result of the fitness function in a given chromosome on an split.
Victor Trevino. Francesco Falciani Group. University of Birmingham, U.K. http://www.bip.bham.ac.uk/bioinf
Goldberg, David E. 1989 Genetic Algorithms in Search, Optimization and Machine Learning. Addison-Wesley Pub. Co. ISBN: 0201157675
For more information see BigBang
.
*plot()
.
## Not run: #bb is a BigBang object fs <- fitnessSplits(bb) fs fs <- fitnessSplits(bb, fitnessFunc=bb$galgo$fitnessFunc) fs fs <- fitnessSplits(bb, fitnessFunc=bb$data$modelSelectionFunc) # default fs ## End(Not run)