I cannot use models in mlr3 other than random forest, part, knn, svm, gbm etc. I am using mlr3extralearners package but still it seems there are a lot of models supported. How to use nnet, mlp etc in mlr3. I have a regression problem.
Second point is, is there a difference between regr.randomForest and regr.Ranger models? It seems they have the same parameters and default values. If they are same and produce the same result, then why both are used and why not just one?
Thank you
Filter this list by class "regr" to see which
learners
are avaiable for a regression problem.To initialise a
learner
, e.g."regr.kknn"
doCreated on 2022-05-06 by the reprex package (v2.0.1)
Then set hyper parameters, train, predict, resample etc. as described in the pleasant
mlr3
book.Regarding your second question, I think
{mlr3}
does not implementlearners
on its own. Instead it relies on several libraries. Probably this is the reason whyregr.randomForest
andregr.Ranger
are available.