Utils module

scores_to_cummean(scores)

Convert evaluator scores to accumulative mean.

strlearn.utils.scores_to_cummean(scores)

Convert evaluator scores to accumulative mean.

It’s the best way to make reader capable to understand anything from your results.

Parameters:

scores (array-like, shape (n_estimators, n_chunks, n_metrics)) – Evaluation scores.

Return type:

array-like, shape (n_estimators, n_chunks, n_metrics)

Returns:

Evaluation scores in format possible to read for human being.

_images/cummean.png