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

Do binomial check in label_encode functions only when adding new labels #1892

Merged
merged 2 commits into from
Jun 28, 2019

Conversation

oleksiyskononenko
Copy link
Contributor

For binomial problem number of labels should be less or equal to two. This check should only be performed when a new label is encountered in the target column. When running label encoding in parallel, we now do the check making sure the label was not added from another thread.

Closes #1891

@oleksiyskononenko oleksiyskononenko added the bug Any bugs / errors in datatable; however for severe bugs use [segfault] label label Jun 28, 2019
@oleksiyskononenko oleksiyskononenko self-assigned this Jun 28, 2019
@oleksiyskononenko oleksiyskononenko changed the title Do binomial check only when adding new labels in label_encode_*() Do binomial check only when adding new labels in label_encode_* functions Jun 28, 2019
@oleksiyskononenko oleksiyskononenko changed the title Do binomial check only when adding new labels in label_encode_* functions Do binomial check only when adding new labels in label_encode functions Jun 28, 2019
@oleksiyskononenko oleksiyskononenko changed the title Do binomial check only when adding new labels in label_encode functions Do binomial check in label_encode functions only when adding new labels Jun 28, 2019
@st-pasha st-pasha merged commit 43ded51 into master Jun 28, 2019
@st-pasha st-pasha deleted the ftrl-label-encode-parallel-fix branch June 28, 2019 17:24
@st-pasha st-pasha added this to the Release 0.9.0 milestone Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Any bugs / errors in datatable; however for severe bugs use [segfault] label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FTRL fails with wrong response - non-deterministically
2 participants