CVLearnerAuditorFitter returns the cross-validated predictions instead of the in-sample predictions.
Available data is cut into complementary subsets (folds). For each subset out-of-sample predictions are received by training a model on all other subsets and predicting afterwards on the left-out subset.
list
with items
corr
: pseudo-correlation between residuals and learner prediction.
l
: the trained learner.
CVTreeAuditorFitter
: Cross-Validated auditor based on rpart
CVRidgeAuditorFitter
: Cross-Validated auditor based on glmnet
Other AuditorFitter:
LearnerAuditorFitter
,
SubgroupAuditorFitter
,
SubpopAuditorFitter
Other AuditorFitter:
LearnerAuditorFitter
,
SubgroupAuditorFitter
,
SubpopAuditorFitter
Other AuditorFitter:
LearnerAuditorFitter
,
SubgroupAuditorFitter
,
SubpopAuditorFitter
mcboost::AuditorFitter
-> CVLearnerAuditorFitter
learner
CVLearnerPredictor
Learner used for fitting residuals.
Inherited methods
new()
Define a CVAuditorFitter
from a learner.
Available instantiations:CVTreeAuditorFitter
(rpart) and
CVRidgeAuditorFitter
(glmnet).
See mlr3pipelines::PipeOpLearnerCV
for more information on
cross-validated learners.
CVLearnerAuditorFitter$new(learner, folds = 3L)
learner
mlr3::Learner
Regression Learner to use.
folds
integer
Number of folds to use for PipeOpLearnerCV. Defaults to 3.
mcboost::AuditorFitter
-> mcboost::CVLearnerAuditorFitter
-> CVTreeAuditorFitter
new()
Define a cross-validated AuditorFitter from a rpart learner
See mlr3pipelines::PipeOpLearnerCV
for more information on
cross-validated learners.
CVTreeAuditorFitter$new()
mcboost::AuditorFitter
-> mcboost::CVLearnerAuditorFitter
-> CVRidgeAuditorFitter
new()
Define a cross-validated AuditorFitter from a glmnet learner.
See mlr3pipelines::PipeOpLearnerCV
for more information on
cross-validated learners.
CVRidgeAuditorFitter$new()