mi_tune_xgb: Tune the Xgboost model by hyperband.

View source: R/mi_tune_xgb.R

mi_tune_xgbR Documentation

Tune the Xgboost model by hyperband.

Description

Tune the Xgboost model by hyperband.

Usage

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

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.

Value

A list of tuning instance and stage plot.


MantaID documentation built on Sept. 11, 2024, 6 p.m.

Related to mi_tune_xgb in MantaID...