Defines an AuditorFitter abstract base class.
Methods
Method new()
Initialize a AuditorFitter.
This is an abstract base class.
Method fit_to_resid()
Fit to residuals.
Usage
AuditorFitter$fit_to_resid(data, resid, mask)
Arguments
data
data.table
Features.
resid
numeric
Residuals (of same length as data).
mask
integer
Mask applied to the data. Only used for SubgroupAuditorFitter.
Method fit()
Fit (mostly used internally, use fit_to_resid).
Usage
AuditorFitter$fit(data, resid, mask)
Arguments
data
data.table
Features.
resid
numeric
Residuals (of same length as data).
mask
integer
Mask applied to the data. Only used for SubgroupAuditorFitter.
Method clone()
The objects of this class are cloneable with this method.
Usage
AuditorFitter$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.