Learn R Programming

⚠️There's a newer version (2.19.1) of this package.Take me there.

mlr (version 1.1-18)

mlr: Machine Learning in R.

Description

Interface to a large number of classification and regression techniques, including machine-readable parameter descriptions. Generic resampling, including cross-validation, bootstrapping and subsampling. Hyperparameter tuning with modern optimization techniques. Filter and wrapper methods for feature selection. Extension of basic learners with additional operations. Nested resampling.

Copy Link

Version

Install

install.packages('mlr')

Monthly Downloads

7,379

Version

1.1-18

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Bernd Bischl

Last Published

August 29th, 2013

Functions in mlr (1.1-18)

setAggregation

Set aggregation function of measure.
FeatSelResult

Result of feature selection.
aggregations

Aggregation methods.
makeClassifTask

Create a classification / regression task for a given data set.
crossover

crossover
getConfMatrix

Confusion matrix.
getParamSet

Get a description of all possible parameter settings for a learner.
getProbabilities

Get probabilities for some classes.
Prediction

Prediction object.
getTuneResult

Returns the optimal hyperparameters and optimization path.
asROCRPrediction

Converts predictions to a format package ROCR can handle.
ResamplePrediction

Prediction from resampling.
makeTuneWrapper

Fuse learner with tuning.
getBaggingModels

Returns the list of models fitted in bagging.
TaskDesc

Description object for task.
performance

Measure performance of prediction.
makeBaggingWrapper

Fuse learner with the bagging technique.
Aggregation

makeWrappedModel

Induced model of learner.
selectFeatures

Feature selection by wrapper approach.
getTaskFormula

Get formula of a task.
makeTuneControlCMAES

Create control structures for tuning.
getLearnerModel

Get underlying R model of learner integrated into mlr.
getTaskFeatureNames

Get feature names of task.
listLearners

Find matching learning algorithms.
setPredictType

Set the type of predictions the learner should return.
learnerArgsToControl

Convert arguments to control structure.
configureMlr

Configures the behaviour of the package.
filterFeatures

Filter features by using a numerical importance criterion. Calculates numerical importance values for all features. Thresholding of these values can be used to select useful features. Look at package FSelector for details on the filter algorithms.
makeCostMeasure

Creates a measure for non-standard misclassification costs.
resample

Fit models according to a resampling strategy.
subsetTask

Subset data in task.
makeResampleInstance

Instantiates a resampling strategy object.
trainLearner

Train an R learner.
TuneResult

Result of tuning.
getTaskTargets

Get target column of task.
setHyperPars

Set the hyperparameters of a learner object.
tuneParams

Hyperparameter tuning.
setHyperPars2

Only exported for internal use.
makeMeasure

Construct performance measure.
makeFilterWrapper

Fuse learner with filter method.
setThreshold

Set threshold of prediction object.
makeLearner

Create learner object.
getHyperPars

Get current parameter settings for a learner.
makeFixedHoldoutInstance

Generate a fixed holdout instance for resampling.
learners

List of supported learning algorithms.
makeCustomResampledMeasure

Construct your own resampled performance measure.
getFilteredFeatures

Returns the filtered features.
train

Train a learning algorithm.
makeFeatSelControlExhaustive

Create control structures for feature selection.
predictLearner

Predict new data with an R learner.
makePreprocWrapper

Fuse learner with preprocessing.
RLearner

Internal construction / wrapping of learner object.
getTaskFormulaAsString

Get formula of a task as a string.
tuneThreshold

Tune prediction threshold.
predict.WrappedModel

Predict new data.
makeResampleDesc

Create a description object for a resampling strategy.
getTaskData

Extract data in task. Useful in trainLearner when you add a learning machine to the package.
measures

Performance measures.