-
Notifications
You must be signed in to change notification settings - Fork 183
update: update neighbors.py to use pybind11 instead of daal4py #2284
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
yuejiaointel
merged 71 commits into
uxlfoundation:main
from
yuejiaointel:replace_daal4py_with_pybind11_obj_knn
Oct 7, 2025
Merged
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
d916d13
update: update neighbors.py to use pybind11 instead of daal4py
yuejiaointel 2478b7f
test: revert changes and only change ondal fit for classifier
yuejiaointel 736183d
test: revert everything
yuejiaointel e8df51b
fix: add failing validate data test to DESIGN_RULE_VIOLATIONS to avoi…
yuejiaointel 6ce1b87
fix: format changed files to pass ci
yuejiaointel 8476aac
fix: format fix
yuejiaointel 03eea09
fix: move validate data to onedal fit call
yuejiaointel e463bf6
fix: remove uncessary changes
yuejiaointel 31c2d3c
fix: remove uncessary changes
yuejiaointel cb7ea08
Merge branch 'main' into replace_daal4py_with_pybind11_obj_knn
yuejiaointel fa95c87
Merge branch 'main' into replace_daal4py_with_pybind11_obj_knn
yuejiaointel cabfcd4
fix: add changes
yuejiaointel fd9fbc2
fix: format
yuejiaointel 4766304
fix: add import
yuejiaointel 58c8811
fix: fix check feature names
yuejiaointel 3a7cf19
Merge branch 'main' into replace_daal4py_with_pybind11_obj_knn
yuejiaointel 067d508
wip: getting errors about feature anmes
yuejiaointel eece097
buggy: when remove functions from _onedal_fit of NearestNeighbors
yuejiaointel 11480e0
fix: got rid of all daal4py functions for knn regression, classificai…
yuejiaointel 4625190
fix: format
yuejiaointel e8ae01f
fix: remove some violoations from desgin rule
yuejiaointel 1a9de0e
Merge branch 'main' into replace_daal4py_with_pybind11_obj_knn
yuejiaointel b4f1fad
fix: add some validate data violoations to rules
yuejiaointel 2f70196
fix: fix the kneightbors calls
yuejiaointel 2143bf3
fix: remove addtional tests
yuejiaointel da76c1d
fix: format
yuejiaointel 152f74d
fix: try use array api xp
yuejiaointel e082648
fix: add if check for nearest neighbors
yuejiaointel 239b94e
test: test np for knn regression predict
yuejiaointel fdd9d6a
fix: format
yuejiaointel 13626f8
fix: format
yuejiaointel b6cf1fd
fix: revert previous
yuejiaointel f4a25a9
fix: fix validate data
yuejiaointel d7967b8
fix: fix score
yuejiaointel 73f7352
fix: fix predict
yuejiaointel b17ef98
fix: fix score
yuejiaointel 57532ba
fix: should only have 1 error now
yuejiaointel c308d52
fix: fix error not raised error
yuejiaointel 805197e
fix: fix predict
yuejiaointel 5fb9c8e
fix: test fix
yuejiaointel 053d903
fix: add flag to fit avoid type change
yuejiaointel 96549fa
Merge branch 'main' into replace_daal4py_with_pybind11_obj_knn
yuejiaointel ef59b38
fix: remove ensure finit
yuejiaointel 202e945
fix: format
yuejiaointel 171cff6
test: tst ensure all finite = false
yuejiaointel 2a6d5df
test: fix
yuejiaointel fbc3cab
Merge remote-tracking branch 'upstream/main' into replace_daal4py_wit…
Alexsandruss ec6a49f
fix: try use explict convert to numpy
yuejiaointel 2ee8122
fix: format
yuejiaointel 2fc3988
fix: fix as numpy
yuejiaointel ae26c77
fix: revert changes in dataframe support
yuejiaointel 2b1fddb
Merge branch 'main' into replace_daal4py_with_pybind11_obj_knn
yuejiaointel 827270a
fix: try fix as numbpy
yuejiaointel 2f7d52e
fix: try fix as numbpy
yuejiaointel 9d2ef72
fix: format
yuejiaointel 4e1f6c0
fix: try fix as numbpy
yuejiaointel 248092d
fix: don't change as numbpy
yuejiaointel b59aeba
fix: try without as numpy
yuejiaointel c99b761
fix: try don't use xp
yuejiaointel 080707a
fix: try comment out xp again
yuejiaointel 7213e70
fix: try comment out xp again
yuejiaointel fccd174
fix: comment out array api import
yuejiaointel 6ddb7b9
fix: as numpy in lof
yuejiaointel 9294c77
fix: fresh start and try step by step again
yuejiaointel 7e9eba6
fix: just get rid of the daal4py functions
yuejiaointel 480dd6f
fix: remove ck feature names
yuejiaointel 055136e
fix: format
yuejiaointel 4ca908b
fix: add valudate tests to violation array
yuejiaointel bb1d9da
fix: dpn't delete check featuer names
yuejiaointel c9e97db
fix: remove daal functions from onedal
yuejiaointel 4f76b78
fix: format
yuejiaointel 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yuejiaointel Could rebase this off from the unmerged PR that has the fix, remove these deselections, and verify that they pass?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The followup PR that I am doing next will fix this by using the array api structure to add validate_data properly, but this PR needs to be merged first