AuditorFitter {mcboost} | R Documentation |
AuditorFitter Abstract Base Class
Description
Defines an AuditorFitter
abstract base class.
Value
list
with items
-
corr
: pseudo-correlation between residuals and learner prediction. -
l
: the trained learner.
Methods
Public methods
Method new()
Initialize a AuditorFitter
.
This is an abstract base class.
Usage
AuditorFitter$new()
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 forSubgroupAuditorFitter
.
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 forSubgroupAuditorFitter
.
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.
[Package mcboost version 0.4.3 Index]