I trained and tested a decision tree classifier with mlr3 package in R:
pred_probability = learner_DT$train(task_train)$predict(task_test)
How can I get the variable importance from this model? I tried learner_DT$importance()
but the outcome was named numeric(0)
Any help is appreciated.