Learn R Programming

fastml (version 0.7.7)

get_best_model_idx: Get Best Model Indices by Metric and Group

Description

Get Best Model Indices by Metric and Group

Usage

get_best_model_idx(df, metric, group_cols = c("Model", "Engine"))

Arguments

df

Data frame containing model performance metrics.

metric

Character string naming the column that holds the metric values.

group_cols

Character vector of columns used to group models.