RegressionWindowedEvaluator#

class capymoa.evaluation.RegressionWindowedEvaluator[source]#

Bases: RegressionEvaluator

Uses the RegressionEvaluator to perform a windowed evaluation.

IMPORTANT: The results for the last window are always through `metrics()`, if the window_size does not perfectly divide the stream, the metrics corresponding to the last remaining instances in the last window can be obtained by invoking `metrics()`

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