R/makeLearners.R
Small helper function that can save some typing when creating mutiple learner objects. Calls makeLearner multiple times internally.
makeLearners(cls, ids = NULL, type = NULL, ...)
| cls | (character) |
|---|---|
| ids | (character) |
| type | ( |
| ... | (any) |
(named list of Learner). Named by ids.
Other learner: LearnerProperties,
getClassWeightParam,
getHyperPars, getLearnerId,
getLearnerNote,
getLearnerPackages,
getLearnerParVals,
getLearnerParamSet,
getLearnerPredictType,
getLearnerShortName,
getLearnerType, getParamSet,
helpLearnerParam,
helpLearner, makeLearner,
removeHyperPars,
setHyperPars, setId,
setLearnerId,
setPredictThreshold,
setPredictType
#> $classif.rpart #> Learner classif.rpart from package rpart #> Type: classif #> Name: Decision Tree; Short name: rpart #> Class: classif.rpart #> Properties: twoclass,multiclass,missings,numerics,factors,ordered,prob,weights,featimp #> Predict-Type: prob #> Hyperparameters: xval=0 #> #> #> $classif.lda #> Learner classif.lda from package MASS #> Type: classif #> Name: Linear Discriminant Analysis; Short name: lda #> Class: classif.lda #> Properties: twoclass,multiclass,numerics,factors,prob #> Predict-Type: prob #> Hyperparameters: #> #>