Skip to content

[ML] Fix weights to maximize minimum recall for multiclass classification #1231

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

Merged
merged 2 commits into from
May 12, 2020

Conversation

tveasey
Copy link
Contributor

@tveasey tveasey commented May 12, 2020

This is a correction for #1113.

We were computing the objective on the full training set rather than the sampled mask. Normally this is fine, since we use a stratified sample it basically acts like a constant scaling of the objective. However, when there is very little training data we can run into problems (such as a class missing in the sample set which is present in the training set). It also means this code is much slower than intended on very large data sets.

Change #1113 hasn't been released so I've marked this as a non-issue, but it must go out at the same time in 7.8.

Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants