AuditorFitter {mcboost}R Documentation

AuditorFitter Abstract Base Class

Description

Defines an AuditorFitter abstract base class.

Value

list with items

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 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.


[Package mcboost version 0.4.3 Index]