Learn R Programming

MantaID (version 1.0.4)

mi_tune_rg: Tune the Random Forest model by hyperband.

Description

Tune the Random Forest model by hyperband.

Usage

mi_tune_rg(
  data,
  resampling = rsmp("cv", folds = 5),
  measure = msr("classif.acc"),
  eta = 3
)

Value

A list of tuning instance and stage plot.

Arguments

data

A tibble.All are numeric except the first column is a factor.

resampling

R6/Resampling.

measure

Model evaluation method.Use mlr_measures and msr() to view and choose metrics.

eta

The percent parameter configurations discarded.