Learn R Programming

galgo (version 1.4)

fitness: Function used to evaluate a chromosome

Description

Function used to evaluate a chromosome using training and validation sets (second-level training-test sets) and the selected split.

Usage

fitness(chr, parent)

Arguments

chr

Chromosome or vector object.

parent

Parent object, commonly BigBang object.

Value

A numeric value with the fitness computed for the chromosome.

See Also

forwardSelectionModels.BigBang, modelSelection, classPrediction, configBB.VarSel