Machine Learning in R

Interface to a large number of classification and regression techniques, including machine-readable parameter descriptions. There is also an experimental extension for survival analysis, clustering and general, example-specific cost-sensitive learning. Generic resampling, including cross-validation, bootstrapping and subsampling. Hyperparameter tuning with modern optimization techniques, for single- and multi-objective problems. Filter and wrapper methods for feature selection. Extension of basic learners with additional operations common in machine learning, also allowing for easy nested resampling. Most operations can be parallelized.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("mlr")

2.19.4 by Martin Binder, 3 days ago


https://mlr.mlr-org.com, https://github.com/mlr-org/mlr


Report a bug at https://github.com/mlr-org/mlr/issues


Browse source code at https://github.com/cran/mlr


Authors: Bernd Bischl [aut] , Michel Lang [aut] , Lars Kotthoff [aut] , Patrick Schratz [aut] , Julia Schiffner [aut] , Jakob Richter [aut] , Zachary Jones [aut] , Giuseppe Casalicchio [aut] (ORCID: , Mason Gallo [aut] , Jakob Bossek [ctb] , Erich Studerus [ctb] , Leonard Judt [ctb] , Tobias Kuehn [ctb] , Pascal Kerschke [ctb] , Florian Fendt [ctb] , Philipp Probst [ctb] , Xudong Sun [ctb] , Janek Thomas [ctb] , Bruno Vieira [ctb] , Laura Beggel [ctb] , Quay Au [ctb] , Martin Binder [aut, cre] , Florian Pfisterer [ctb] , Stefan Coors [ctb] , Steve Bronder [ctb] , Alexander Engelhardt [ctb] , Christoph Molnar [ctb] , Annette Spooner [ctb]


Documentation:   PDF Manual  


BSD_2_clause + file LICENSE license


Imports backports, BBmisc, checkmate, data.table, ggplot2, methods, parallelMap, stats, stringi, survival, utils, XML

Depends on ParamHelpers

Suggests ada, adabag, batchtools, bit64, brnn, bst, C50, care, caret, class, clue, cluster, ClusterR, clusterSim, cmaes, cowplot, crs, Cubist, deepnet, DiceKriging, e1071, earth, elasticnet, emoa, evtree, fda.usc, FDboost, FNN, forecast, fpc, frbs, FSelector, FSelectorRcpp, gbm, GenSA, ggpubr, glmnet, GPfit, h2o, Hmisc, irace, kernlab, kknn, klaR, knitr, laGP, LiblineaR, lintr, MASS, mboost, mco, mda, memoise, mlbench, mldr, mlrMBO, modeltools, mRMRe, neuralnet, nnet, numDeriv, pamr, pander, party, pec, penalized, pls, PMCMRplus, praznik, randomForest, ranger, rappdirs, refund, rex, rFerns, rgenoud, rmarkdown, Rmpi, ROCR, rotationForest, rpart, RRF, rsm, RSNNS, rucrdtw, RWeka, sda, sf, smoof, sparseLDA, stepPlr, survAUC, svglite, testthat, tgp, TH.data, tidyr, tsfeatures, vdiffr, wavelets, xgboost

System requirements: gdal (optional), geos (optional), proj (optional), udunits (optional), gsl (optional), gmp (optional), glu (optional), jags (optional), mpfr (optional), openmpi (optional)


Imported by EFAfactors, FactorHet, RobustPrediction, aslib, ipfr, latentFactoR, live, nsga3, roseRF, seqimpute, tramnet, tuneRanger, varycoef.

Depended on by OOBCurve, RBPcurve, llama, mlrCPO, mlrMBO.

Suggested by ChemoSpec2D, DALEXtra, OpenML, binaryRL, bnclassify, condvis2, counterfactuals, ecr, iml, lime, mlrintermbo, multiRL, plotmo, pmsims, r2pmml, vivid.


See at CRAN