Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add agg_fn to evaluate #99

Merged
merged 3 commits into from
Jul 4, 2024
Merged

add agg_fn to evaluate #99

merged 3 commits into from
Jul 4, 2024

Conversation

jmoralez
Copy link
Member

@jmoralez jmoralez commented Jul 2, 2024

Adds the agg_fn argument to evaluation.evaluate to support reducing the scores by id to a single number, e.g. evaluate(df, metrics, agg_fn='mean') will return the average metric across all series.

Fixes #87

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jmoralez jmoralez changed the title add reduce_stat to evaluate add agg_fn to evaluate Jul 3, 2024
@jmoralez jmoralez marked this pull request as ready for review July 3, 2024 00:12
@jmoralez jmoralez enabled auto-merge (squash) July 3, 2024 00:12
@jmoralez jmoralez disabled auto-merge July 4, 2024 16:35
@jmoralez jmoralez merged commit e19acd5 into main Jul 4, 2024
18 checks passed
@jmoralez jmoralez deleted the reduce-evaluate branch July 4, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Evaluate() to return aggregated metric evaluation across unique_ids.
1 participant