Description Usage Arguments Value See Also
View source: R/setPredictType.R
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.
1 | setPredictType(learner, predict.type)
|
learner |
[ |
predict.type |
[ |
[Learner].
Other predict: asROCRPrediction,
getPredictionProbabilities,
getPredictionResponse,
getPredictionTaskDesc,
plotViperCharts,
predict.WrappedModel,
setPredictThreshold
Other learner: LearnerProperties,
getClassWeightParam,
getHyperPars, getLearnerId,
getLearnerPackages,
getLearnerParVals,
getLearnerParamSet,
getLearnerPredictType,
getLearnerShortName,
getLearnerType, getParamSet,
helpLearnerParam,
helpLearner, makeLearners,
makeLearner, removeHyperPars,
setHyperPars, setId,
setLearnerId,
setPredictThreshold
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.