Skip to contents

This function allows to select the best part of a population that is significantly not different from the best model

Usage

selectBestPopulation(pop, score = "fit_", p = 0.05, k_penalty = 0, k_max = 0)

Arguments

pop:

a list of model objects

score:

the attribute of the model to be used for the evaluation

p:

the p-value threshold

k_penalty:

the penalty to apply to the score based on the k_sparsity (default:0)

k_max:

select the best population below a given threshold. If (default:0) no selection is performed.

Value

a sub part of the population