Regressor#

class capymoa.base.Regressor[source]#

Bases: LearnerParamsMixin, ABC

__init__(schema=None, random_seed=1)[source]#
classmethod from_params(
schema: Any = None,
params: dict[str, Any] | None = None,
random_seed: int = 1,
) → Any[source]#

Construct an instance from parameters produced by get_params.

get_params() → dict[str, Any][source]#

Return the hyper-parameters captured from the constructor.

abstract predict(
instance: RegressionInstance,
) → float64[source]#
abstract train(instance: RegressionInstance)[source]#