Defines an AuditorFitter
abstract base class.
list
with items
corr
: pseudo-correlation between residuals and learner prediction.
l
: the trained learner.
new()
Initialize a AuditorFitter
.
This is an abstract base class.
AuditorFitter$new()
fit_to_resid()
Fit to residuals.
AuditorFitter$fit_to_resid(data, resid, mask)
data
data.table
Features.
resid
numeric
Residuals (of same length as data).
mask
integer
Mask applied to the data. Only used for SubgroupAuditorFitter
.
fit()
Fit (mostly used internally, use fit_to_resid
).
AuditorFitter$fit(data, resid, mask)
data
data.table
Features.
resid
numeric
Residuals (of same length as data).
mask
integer
Mask applied to the data. Only used for SubgroupAuditorFitter
.
clone()
The objects of this class are cloneable with this method.
AuditorFitter$clone(deep = FALSE)
deep
Whether to make a deep clone.