| makeLearners | R Documentation |
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(),
helpLearner(),
helpLearnerParam(),
makeLearner(),
removeHyperPars(),
setHyperPars(),
setId(),
setLearnerId(),
setPredictThreshold(),
setPredictType()
makeLearners(c("rpart", "lda"), type = "classif", predict.type = "prob")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.