Skip to contents

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. See supported_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. If recorder 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

Value

An object of class Recorder.

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

Author

Alessandro Barberis