RegressionEvaluator#

class capymoa.evaluation.RegressionEvaluator[source]#

Bases: object

Wrapper for the Regression Performance Evaluator from MOA. By default, it uses the MOA BasicRegressionPerformanceEvaluator as moa_evaluator.

__init__(schema=None, window_size=None, moa_evaluator=None)[source]#
get_instances_seen()[source]#
update(y, y_pred: float | None)[source]#
metrics_header()[source]#
metrics()[source]#
metrics_dict()[source]#
metrics_per_window()[source]#
predictions()[source]#
ground_truth_y()[source]#
mae()[source]#
rmse()[source]#
rmae()[source]#
r2()[source]#
adjusted_r2()[source]#