Skip to contents

Function to add the tag "selected" to the best individuals of the population

Usage

tag_SelectElite(clf, pop, nbToSelect)

Arguments

clf:

the classifier object

pop:

the population on which we want to add the tag

nbToSelect:

the number of individuals we are going to select in the population

Value

the population given as an input with `nbToSelect` bests individuals with `$selected = TRUE`