Skip to main content

Module evaluate

Module evaluate 

Source
Expand description

Progressive (prequential) evaluation.

The evaluation order is fixed:

predict → metric.update → learn

This ensures each prediction is made before the model sees the current sample, giving an honest estimate of generalization on streaming data.

Structs§

BinaryClassificationSample
A single binary classification sample.
ProgressiveStep
A single step of progressive evaluation, recording the prediction made before learning from this sample.
RegressionSample
A single regression sample.

Functions§

evaluate_binary_classification
Run progressive evaluation on a binary classification stream.
evaluate_regression
Run progressive evaluation on a regression stream.
evaluate_regression_with_steps
Like evaluate_regression but also collects per-step records.