List of Students in Mlr Including Unistalled Ones

I want to get a list of all clustering algorithms integrated in the mlr package. I skipped this code to get them back, but it excludes the deleted ones:

library(mlr)
listLearners("cluster") # default: create=F, check.packages=F

      

Instead, I get the following warning:

Warning in listLearners.character("cluster") :
  The following learners could not be constructed, probably because their packages are not installed:
classif.ada,classif.bartMachine,classif.bdk,classif.blackboost,classif.boosting,classif.bst,classif.C50,classif.clusterSVM,classif.cvglmnet,classif.dbnDNN,classif.dcSVM,classif.earth,classif.evtree,classif.extraTrees,classif.fnn,classif.gamboost,classif.gaterSVM,classif.geoDA,classif.glmboost,classif.glmnet,classif.hdrda,classif.kknn,classif.LiblineaRL1L2SVC,classif.LiblineaRL1LogReg,classif.LiblineaRL2L1SVC,classif.LiblineaRL2LogReg,classif.LiblineaRL2SVC,classif.LiblineaRMultiClassSVC,classif.linDA,classif.lqa,classif.mda,classif.mlp,classif.neuralnet,classif.nnTrain,classif.nodeHarvest,classif.pamr,classif.penalized.fusedlasso,classif.penalized.lasso,classif.penalized.ridge,classif.plr,classif.quaDA,classif.randomForestSRC,classif.ranger,classif.rda,classif.rFerns,classif.rknn,classif.rotationForest,classif.RRF,classif.rrlda,classif.saeDNN,classif.sda,classif.sparseLDA,classif.xgboost [... truncated]

      

Am I doing something wrong or is this function broken?

+3


source to share


2 answers


The default check.packages

is actually TRUE

when passing a string. Just install it on FALSE

and everything should work:



listLearners("cluster", check.packages = FALSE)

      

+3


source


TL; DR

you can find them here .

Description

If you installed

options(warning.length = 8170)

      



you can get the whole warning message. It ends with

"..... classif.penalized.ridge,classif.plr,classif.quaDA,classif.randomForestSRC,classif.ranger,classif.rda,classif... <truncated> Check ?learners to see which packages you need or install mlr with all suggestions."

If you then check ?learners

, you will see a hint where you can get information:

All supported learners can be found by listLearners or as a table in the tutorial app: http://mlr-org.github.io/mlr-tutorial/release/html/integrated_learners/ .

So, this is the site where all the classifiers are collected.
On the left side you can go to all "Cluster analyzes".

+2


source







All Articles