Skip to content

Allow nans in _forest.py #72

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

Open
wants to merge 1 commit into
base: submodulev3
Choose a base branch
from

Conversation

weioren
Copy link

@weioren weioren commented Apr 22, 2025

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Always allow nan values in _forest.py by setting ensure_all_finite = "allow-nan" in the _validate_X_predict function. This is required for treeple unsupervised forest to accept NaN values.

Any other comments?

Copy link

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: f7f4f62. Link to the linter CI: here

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

Successfully merging this pull request may close these issues.

1 participant