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 overflow behavior handling in binning nodes #37

Merged
merged 3 commits into from
Feb 16, 2021
Merged

Conversation

nsmith-
Copy link
Collaborator

@nsmith- nsmith- commented Feb 16, 2021

Binning and MultiBinning now have flow: Union[Content, Literal["clamp", "error"]] attributes. Currently set mandatory.

Closes #5

And fix a bug! std::lower_bound gives edges[i] < x <= edges[i+1]
std::upper_bound gives edges[i] <= x < edges[i+1] which is what we specified
Need to add this to pre-commit or something
@nsmith- nsmith- merged commit 26df0d5 into master Feb 16, 2021
@nsmith- nsmith- deleted the feat-overflow branch February 16, 2021 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Limit allowed values
1 participant