checkPredictLearnerOutput: Check output returned by predictLearner.

View source: R/predictLearner.R

checkPredictLearnerOutputR Documentation

Check output returned by predictLearner.

Description

Check the output coming from a Learner's internal predictLearner function.

This function is for internal use.

Usage

checkPredictLearnerOutput(learner, model, p)

Arguments

learner

(Learner)
The learner.

model

(WrappedModel)]
Model produced by training.

p

(any)
The prediction made by learner.

Value

(any). A sanitized version of p.


berndbischl/mlr documentation built on Aug. 15, 2024, 4:20 p.m.