Skip to contents

Provides abstract base classes for three levels of data processing: field-level (FeatureProcessor), sample-level (SampleProcessor), and dataset-level (DatasetProcessor). Each processor inherits from a common Processor base class which includes optional save() and load() methods.

Concrete implementations should inherit from these and override at least the process() method.

Methods


Method save()

Save processor state to disk (optional).

Usage

Processor$save(path)

Arguments

path

A string file path.


Method load()

Load processor state from disk (optional).

Usage

Processor$load(path)

Arguments

path

A string file path.


Method clone()

The objects of this class are cloneable with this method.

Usage

Processor$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.