-
-
Notifications
You must be signed in to change notification settings - Fork 26k
ENH Reduce redundancy in floating type checks for Array API support in _regression.py
#30128
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
OmarManzoor
merged 34 commits into
scikit-learn:main
from
virchan:issues/30106_floating_dtype_regression_Array_API
Dec 2, 2024
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a5f8460
ENH Reduce redundancy in floating type checks for Array API support
virchan 92c048e
ENH Reduce redundancy in floating type checks for Array API support
virchan 69e00cc
Updating `_regression.py` and `test_common.py`.
virchan 3a2ed0e
Updating `test_common.py`.
virchan eec32bb
Update changelog.
virchan e7a2602
Update `_regression.py`.
virchan ad5cdea
Update `_regression.py`.
virchan 8cc2583
Update sklearn/metrics/_regression.py
virchan b940827
Update sklearn/metrics/_regression.py
virchan dafacaf
Update sklearn/metrics/_regression.py
virchan 1ba7c37
Remove changelog and add `xp` back to `max_error`.
virchan f53172e
Update `_check_reg_targets` doc-string.
virchan 0e3cfae
Update variable name to `dtype_name`.
virchan 4b844a0
Update `r2_score`.
virchan 08ee432
Fix linting.
virchan ef944fd
Merge branch 'main' into issues/30106_floating_dtype_regression_Array…
virchan 5029c9d
Merge branch 'main' into issues/30106_floating_dtype_regression_Array…
virchan f9ee0f7
Update `_check_reg_targets_and_floating_dtype`.
virchan fc0f593
Update sklearn/metrics/_regression.py
virchan 635c883
Update sklearn/metrics/_regression.py
virchan bbde963
Merge branch 'main' into issues/30106_floating_dtype_regression_Array…
virchan eccc7f1
Rename `_check_reg_targets_and_floating_dtype` to `_check_reg_targets…
virchan 048551c
Merge branch 'main' into issues/30106_floating_dtype_regression_Array…
virchan e7533ea
Merge branch 'main' into issues/30106_floating_dtype_regression_Array…
virchan 0959a06
Merge branch 'main' into issues/30106_floating_dtype_regression_Array…
virchan 64d5e95
Updating `_check_reg_targets` and _check_reg_targets_with_floating_dt…
virchan e772fe2
Updating `_check_reg_targets_with_floating_dtype` to convert `sample_…
virchan ed6224c
Updating `_check_reg_targets_with_floating_dtype`
virchan c507513
Updating `_check_reg_targets_with_floating_dtype`.
virchan 8d7507d
Updating `_check_reg_targets_with_floating_dtype`.
virchan 63c34f5
Updating `_check_reg_targets_with_floating_dtype`.
virchan ee66bd2
Updating `_check_reg_targets_with_floating_dtype`.
virchan 35f3e5e
Merge branch 'main' into issues/30106_floating_dtype_regression_Array…
virchan e868d9d
Update `_check_reg_targets_with_floating_dtype` doc-string.
virchan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.