View source: R/setPredictType.R
setPredictType | R Documentation |
Possible prediction types are: Classification: Labels or class probabilities (including labels). Regression: Numeric or response or standard errors (including numeric response). Survival: Linear predictor or survival probability.
For complex wrappers the predict type is usually also passed down the encapsulated learner in a recursive fashion.
setPredictType(learner, predict.type)
learner |
(Learner | |
predict.type |
( |
Learner.
Other predict:
asROCRPrediction()
,
getPredictionProbabilities()
,
getPredictionResponse()
,
getPredictionTaskDesc()
,
predict.WrappedModel()
,
setPredictThreshold()
Other learner:
LearnerProperties
,
getClassWeightParam()
,
getHyperPars()
,
getLearnerId()
,
getLearnerNote()
,
getLearnerPackages()
,
getLearnerParVals()
,
getLearnerParamSet()
,
getLearnerPredictType()
,
getLearnerShortName()
,
getLearnerType()
,
getParamSet()
,
helpLearner()
,
helpLearnerParam()
,
makeLearner()
,
makeLearners()
,
removeHyperPars()
,
setHyperPars()
,
setId()
,
setLearnerId()
,
setPredictThreshold()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.