Skip to contents

Get the model that has the highest minimal prevalence in its features

Usage

getMaxMinPrevalenceModel(pop, X = NULL, evalToOrder = "fit_", selected = 0)

Arguments

pop:

a population of model objects

X:

dataset where to compute the prevalence

evalToOrder:

which score should we use to order the models and select them (default:fit_)

selected:

the number of selected models (default:0). If 0, everything is returned.

Value

a model or a list of model objects