Skip to contents

Evaluates an entire population of models, that be predomics objects or individuals

Usage

evaluatePopulation(
  X,
  y,
  clf,
  pop,
  eval.all = FALSE,
  force.re.evaluation = FALSE,
  estim.feat.importance = FALSE,
  mode = "train",
  delete.null.models = TRUE,
  lfolds = NULL
)

Arguments

X:

the data matrix with variables in the rows and observations in the columns

y:

the class vector

clf:

the object containing the classifier information

pop:

the population of models to be evaluated

eval.all:

should the function evaluate all the scores for each of the models (default:FALSE)

force.re.evaluation:

re-evaluate all the scores even if they exist for each of the models (default:FALSE)

estim.feat.importance:

evaluate the importance in the model object for each of the models (default:FALSE)

mode:

A choice from c("train", "test") indicates wether we wish to learn the threthold of each of the models (default:"train") or not "test" for the c("terinter","bininter","ratio") languages

delete.null.models:

should null indivuals be deleted (default:TRUE)

lfolds:

compute evaluation in crossval (default:NULL)

Value

an individual object