Skip to content
Draft
Show file tree
Hide file tree
Changes from 71 commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
1ebc83c
first steps
icfaust Dec 4, 2024
6ba816c
remove SVMType entirely
icfaust Dec 4, 2024
b2f1bd7
movement?
icfaust Dec 4, 2024
66cac25
centralize predict
icfaust Dec 4, 2024
1b3e266
further removal
icfaust Dec 4, 2024
8686d56
further removal
icfaust Dec 4, 2024
01ac923
attempt to deal with other oddities
icfaust Dec 4, 2024
d6a5c6e
move onedal_decision_function
icfaust Dec 4, 2024
9301fbb
centralization
icfaust Dec 4, 2024
66dc249
swap score information
icfaust Dec 4, 2024
2567022
further fixes
icfaust Dec 4, 2024
94b7452
try to remove method resolution problem temporarily
icfaust Dec 4, 2024
fd11f04
make modifications to tests
icfaust Dec 4, 2024
2ceccf7
ravels
icfaust Dec 4, 2024
806f372
fix errors, reduce code, move decision_function
icfaust Dec 4, 2024
6d863fb
formatting
icfaust Dec 4, 2024
32e8754
last fixes of the day
icfaust Dec 4, 2024
e2aabde
Update test_nusvc.py
icfaust Dec 5, 2024
02dce05
Update _common.py
icfaust Dec 5, 2024
7cee399
make similar to previous
icfaust Dec 5, 2024
a0f941e
further modification to try and fix sklearn conformance
icfaust Dec 5, 2024
b29c1c6
forgot about regression
icfaust Dec 5, 2024
45ee05d
fix mro issue
icfaust Dec 5, 2024
470a8c9
refactoring
icfaust Dec 5, 2024
5bed19b
remove vestigial code
icfaust Dec 5, 2024
39b4bc1
move initial tests from onedal to sklearnex
icfaust Dec 5, 2024
7448ad4
remove vestigial code
icfaust Dec 5, 2024
b980734
switch rbf to linear
icfaust Dec 5, 2024
db42d15
Merge branch 'main' into dev/new_SVM
icfaust Jul 15, 2025
9cb0320
Merge branch 'uxlfoundation:main' into dev/new_SVM
icfaust Jul 16, 2025
abb4c0e
Merge branch 'uxlfoundation:main' into dev/new_SVM
icfaust Sep 18, 2025
e82c042
Update _common.py
icfaust Sep 19, 2025
1e8e327
lots of changes underway but not complete
icfaust Sep 22, 2025
e9433d6
greatly reduce onedal/svm
icfaust Sep 22, 2025
b201143
remove mixins
icfaust Sep 22, 2025
045fed9
formatting
icfaust Sep 22, 2025
98d046f
further work on _common.py
icfaust Sep 22, 2025
06bd373
remove unused imports
icfaust Sep 22, 2025
ade7357
introduce class_count kwarg
icfaust Sep 24, 2025
e0ba9bd
start adapting for onedal
icfaust Sep 24, 2025
bc93e3d
fixes?
icfaust Sep 24, 2025
b6959a7
fix tests onedal.svm
icfaust Sep 24, 2025
8ebd4cd
Merge branch 'main' into dev/new_SVM
icfaust Sep 24, 2025
42f66d7
test corrections
icfaust Sep 25, 2025
c69ab26
fix score tests
icfaust Sep 25, 2025
43596ea
further score removal
icfaust Sep 25, 2025
35b9a45
fix more tests
icfaust Sep 25, 2025
a244d72
fixes
icfaust Sep 25, 2025
283fa0a
try to fix issues
icfaust Sep 25, 2025
9c81990
try to compromise
icfaust Sep 25, 2025
272f5cc
updates
icfaust Sep 25, 2025
290c15f
continue working
icfaust Sep 30, 2025
3cccf4d
cutting at tests
icfaust Sep 30, 2025
3a14ff1
updates
icfaust Oct 1, 2025
01e7c5a
fix initial errors
icfaust Oct 1, 2025
d981c82
remove class_count
icfaust Oct 1, 2025
579b7e3
fix more tests
icfaust Oct 1, 2025
d1b2457
fix more tests
icfaust Oct 1, 2025
e238d01
fix more tests
icfaust Oct 1, 2025
960963e
fix more tests
icfaust Oct 1, 2025
298cf22
Merge branch 'uxlfoundation:main' into dev/new_SVM
icfaust Oct 1, 2025
826e1b0
formatting
icfaust Oct 1, 2025
85f1409
add testing for class_weight
icfaust Oct 1, 2025
04bd50b
start to adapt sklearnex
icfaust Oct 1, 2025
738dd01
appy interim changes
icfaust Oct 2, 2025
6f193db
further centralizationg
icfaust Oct 2, 2025
215510a
refactor files
icfaust Oct 2, 2025
1a247ed
swap to base
icfaust Oct 2, 2025
8ee5fbc
further fixes
icfaust Oct 2, 2025
265b57b
Update _base.py
icfaust Oct 2, 2025
0da5519
Update _base.py
icfaust Oct 2, 2025
2eca5cb
fixes
icfaust Oct 15, 2025
8b8e5d1
further fixes
icfaust Oct 15, 2025
38f6b2a
further fixes
icfaust Oct 15, 2025
4a06eb6
move things around
icfaust Oct 15, 2025
9dc08a6
Update _classes.py
icfaust Oct 15, 2025
488a4d4
fix calculate_class_weights
icfaust Oct 15, 2025
86712da
updates
icfaust Oct 15, 2025
fe64831
fix bug with numpy devices
icfaust Oct 15, 2025
42ef62b
fix array API mismatch
icfaust Oct 16, 2025
cd3effe
fix array -> asarray
icfaust Oct 16, 2025
e32c141
fix array API mismatch
icfaust Oct 16, 2025
87281ef
add changes related to docs and predict
icfaust Oct 16, 2025
7c9cb3d
Merge branch 'main' into dev/new_SVM
icfaust Oct 16, 2025
ac74f5e
try to fix issues with ovr
icfaust Oct 16, 2025
04e1da6
Merge branch 'dev/new_SVM' of https://github.com/icfaust/scikit-learn…
icfaust Oct 16, 2025
3c44881
further fixes
icfaust Oct 16, 2025
620d3a0
correct issues in various SVM estimators
icfaust Oct 16, 2025
91dd328
fix validate_data for regressors, other fixes
icfaust Oct 16, 2025
22ff47e
revert changes to decision_function
icfaust Oct 16, 2025
58fed8f
trying to solve issues
icfaust Oct 16, 2025
a245b93
further fixes
icfaust Oct 16, 2025
37fe6df
Update _base.py
icfaust Oct 16, 2025
ef27a2c
Update _base.py
icfaust Oct 16, 2025
b8fb7d2
Update _base.py
icfaust Oct 16, 2025
25753fe
Update _base.py
icfaust Oct 16, 2025
b20bdd0
work harder on workaround for array api strict
icfaust Oct 16, 2025
16a2b6c
try again to be array API compliant
icfaust Oct 16, 2025
26bd379
try again to be array API compliant
icfaust Oct 16, 2025
ff91118
Update _base.py
icfaust Oct 17, 2025
2356165
Update _base.py
icfaust Oct 17, 2025
7c7ef92
fix _check_sample_weight calls
icfaust Oct 17, 2025
59d1412
updates
icfaust Oct 17, 2025
dc336f6
swap conversion
icfaust Oct 17, 2025
12cbb8e
further fixes to testing associated with queues
icfaust Oct 17, 2025
f509a7f
further test fixes
icfaust Oct 17, 2025
5a42ec5
try to recover the ravel
icfaust Oct 17, 2025
88efad7
fixes for negative or zero weights
icfaust Oct 17, 2025
c5fc777
add to regression
icfaust Oct 17, 2025
294ba74
add to regression
icfaust Oct 17, 2025
d365bfb
updates for test conformance
icfaust Oct 17, 2025
45f6ff7
make staticmethod
icfaust Oct 17, 2025
b9e9ffe
further changes
icfaust Oct 17, 2025
3c0b6d9
fix oops
icfaust Oct 17, 2025
d5e1152
subtle improvement
icfaust Oct 17, 2025
5677d6c
fixes
icfaust Oct 17, 2025
22c6807
fix test
icfaust Oct 17, 2025
5c94335
Update _classes.py
icfaust Oct 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .ci/scripts/select_sklearn_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ def parse_tests_tree(entry, prefix=""):

# Reduced sklearn tests suite covering all patched functions in the shortest running time
tests_map = {
"cluster/tests": ["test_dbscan.py", "test_k_means.py"],
"covariance/tests": "test_covariance.py",
"decomposition/tests": ["test_pca.py", "test_incremental_pca.py"],
"ensemble/tests": "test_forest.py",
"linear_model/tests": [
"test_base.py",
"test_coordinate_descent.py",
"test_logistic.py",
"test_ridge.py",
],
"manifold/tests": "test_t_sne.py",
"metrics/tests": ["test_pairwise.py", "test_ranking.py"],
"model_selection/tests": ["test_split.py", "test_validation.py"],
"neighbors/tests": ["test_lof.py", "test_neighbors.py", "test_neighbors_pipeline.py"],
# "cluster/tests": ["test_dbscan.py", "test_k_means.py"],
# "covariance/tests": "test_covariance.py",
# "decomposition/tests": ["test_pca.py", "test_incremental_pca.py"],
# "ensemble/tests": "test_forest.py",
# "linear_model/tests": [
# "test_base.py",
# "test_coordinate_descent.py",
# "test_logistic.py",
# "test_ridge.py",
# ],
# "manifold/tests": "test_t_sne.py",
# "metrics/tests": ["test_pairwise.py", "test_ranking.py"],
# "model_selection/tests": ["test_split.py", "test_validation.py"],
# "neighbors/tests": ["test_lof.py", "test_neighbors.py", "test_neighbors_pipeline.py"],
"svm/tests": ["test_sparse.py", "test_svm.py"],
}
if sklearn_check_version("1.2"):
Expand Down
4 changes: 2 additions & 2 deletions onedal/svm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
# limitations under the License.
# ==============================================================================

from .svm import SVC, SVR, NuSVC, NuSVR, SVMtype
from .svm import SVC, SVR, NuSVC, NuSVR

__all__ = ["SVC", "SVR", "NuSVC", "NuSVR", "SVMtype"]
__all__ = ["SVC", "SVR", "NuSVC", "NuSVR"]
Loading
Loading