MOA Adapter#

Adapter objects for using MOA learners with CapyMOA.

class capymoa.base.MOAClassifier[source]#

Bases: Classifier

A wrapper class for using MOA (Massive Online Analysis) classifiers in CapyMOA.

Attributes: - schema: The schema representing the instances. Defaults to None. - CLI: The command-line interface (CLI) configuration for the MOA learner. - random_seed: The random seed for reproducibility. Defaults to 1. - moa_learner: The MOA learner object or class identifier.

__init__(moa_learner, schema=None, CLI=None, random_seed=1)[source]#
CLI_help()[source]#
train(instance)[source]#
predict(instance)[source]#
predict_proba(instance)[source]#
class capymoa.base.MOARegressor[source]#

Bases: Regressor

__init__(schema=None, CLI=None, random_seed=1, moa_learner=None)[source]#
CLI_help()[source]#
train(instance)[source]#
predict(instance)[source]#