| LearnerAuditorFitter | R Documentation |
Instantiates an AuditorFitter that trains a mlr3::Learner
on the data.
AuditorFitter
list with items
corr: pseudo-correlation between residuals and learner prediction.
l: the trained learner.
TreeAuditorFitter: Learner auditor based on rpart
RidgeAuditorFitter: Learner auditor based on glmnet
mcboost::AuditorFitter -> LearnerAuditorFitter
learnerLearnerPredictor
Learner used for fitting residuals.
new()Define an AuditorFitter from a Learner.
Available instantiations:
TreeAuditorFitter (rpart) and
RidgeAuditorFitter (glmnet).
LearnerAuditorFitter$new(learner)
learnermlr3::Learner
Regression learner to use.
fit()Fit the learner and compute correlation
LearnerAuditorFitter$fit(data, resid, mask)
datadata.table
Features.
residnumeric
Residuals (of same length as data).
maskinteger
Mask applied to the data. Only used for SubgroupAuditorFitter.
clone()The objects of this class are cloneable with this method.
LearnerAuditorFitter$clone(deep = FALSE)
deepWhether to make a deep clone.
mcboost::AuditorFitter -> mcboost::LearnerAuditorFitter -> TreeAuditorFitter
new()Define a AuditorFitter from a rpart learner.
TreeAuditorFitter$new()
clone()The objects of this class are cloneable with this method.
TreeAuditorFitter$clone(deep = FALSE)
deepWhether to make a deep clone.
mcboost::AuditorFitter -> mcboost::LearnerAuditorFitter -> RidgeAuditorFitter
new()Define a AuditorFitter from a glmnet learner.
RidgeAuditorFitter$new()
clone()The objects of this class are cloneable with this method.
RidgeAuditorFitter$clone(deep = FALSE)
deepWhether to make a deep clone.
Other AuditorFitter:
CVLearnerAuditorFitter,
SubgroupAuditorFitter,
SubpopAuditorFitter
Other AuditorFitter:
CVLearnerAuditorFitter,
SubgroupAuditorFitter,
SubpopAuditorFitter
Other AuditorFitter:
CVLearnerAuditorFitter,
SubgroupAuditorFitter,
SubpopAuditorFitter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.