The object consists of 3 slots
Constructor for the S4 Recorder object.
Usage
Recorder(id, recorder, logger = Logger())
Arguments
- id
the learning method name associated to this Recorder. If learning method is one of the supported by renoir, the constructor will automatically select a
recorder
. Seesupported_learning_methods()
for the supported methods.- recorder
(optional) function to record if a predictor is present in the trained model. Used if
id
is not one of the supported by renoir. Ifrecorder
is provided it must conform to the renoir common interface, and must have the following formal arguments:- object
a Trained object
- ...
additional arguments
- logger
a Logger
Slots
id
a length-one character vector
recorder
a function able to record the presence of a feature in a trained model
logger
a Logger object