How do I get importance scores? I tried this:
task = tsk("iris")
search_space = ParamSet$new(
params = list(
ParamDbl$new(id = "eta", lower = 0.2, upper = .4)))
at = AutoTuner$new(
learner = lrn("classif.xgboost"),
resampling = rsmp("holdout"),
measure = msr("classif.ce"),
terminator = trm("evals", n_evals = 2),
tuner = tnr("grid_search"),
search_space = search_space,
store_tuning_instance = TRUE)
at$train(task)
at$importance
at$importance()
but it seems not to work.