models_performance: Returns a basic summary of models' performances

View source: R/mod_performance.R

models_performanceR Documentation

Returns a basic summary of models' performances

Description

Returns a basic summary of models' performances

Usage

models_performance(
  models,
  names = NULL,
  data_test,
  y_name,
  metric,
  est_below_cutoff,
  err_above_cutoff
)

Arguments

models

The models to evaluate

names

The models' names

data_test

A data.frame of test data

y_name

The variable to explain

metric

The metric to use for error computation

below_cutoff

seuil à dépasser

Value

A data.frame holding the r.squared and errors metrics

Examples

models_performance(models, names, data_test, "RESCO",
                   c("MACHINE.IND", "MILEX"))

cottinlola/modeleVariablesAP documentation built on April 30, 2022, 7:42 a.m.