scikit-learn-intelex 2024.1.0__py311-none-win_amd64.whl → 2024.3.0__py311-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/__init__.py +9 -7
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/cluster/dbscan.py +6 -4
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/conftest.py +63 -0
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/covariance/__init__.py +19 -0
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/covariance/incremental_covariance.py +130 -0
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/covariance/tests/test_incremental_covariance.py +143 -0
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/decomposition/pca.py +338 -0
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/decomposition/tests/test_preview_pca.py → scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/decomposition/tests/test_pca.py +22 -8
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/dispatcher.py +91 -59
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/ensemble/_forest.py +15 -24
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/ensemble/tests/test_forest.py +15 -19
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/linear_model/__init__.py +1 -2
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/linear_model/linear.py +3 -10
- {scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview → scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex}/linear_model/logistic_regression.py +32 -40
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/linear_model/tests/test_logreg.py +91 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/neighbors/__init__.py +1 -1
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/neighbors/_lof.py +204 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/neighbors/knn_classification.py +13 -18
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/neighbors/knn_regression.py +12 -17
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/neighbors/knn_unsupervised.py +10 -15
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/neighbors/tests/test_neighbors.py +12 -16
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/preview/__init__.py +1 -1
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/preview/cluster/k_means.py +3 -8
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/preview/covariance/covariance.py +46 -12
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/__init__.py +1 -0
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/spmd/covariance/__init__.py +19 -0
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/spmd/covariance/covariance.py +21 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/ensemble/forest.py +4 -12
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/linear_model/__init__.py +2 -1
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/spmd/linear_model/logistic_regression.py +21 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/svm/nusvc.py +9 -6
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/svm/nusvr.py +6 -7
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/svm/svc.py +9 -6
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/svm/svr.py +3 -4
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/tests/_utils.py +155 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/tests/test_memory_usage.py +9 -7
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/tests/test_monkeypatch.py +268 -0
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/tests/test_n_jobs_support.py +93 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/tests/test_parallel.py +6 -8
- scikit_learn_intelex-2024.3.0.data/data/Lib/site-packages/sklearnex/tests/test_patching.py +361 -0
- {scikit_learn_intelex-2024.1.0.dist-info → scikit_learn_intelex-2024.3.0.dist-info}/METADATA +2 -2
- scikit_learn_intelex-2024.3.0.dist-info/RECORD +98 -0
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/decomposition/pca.py +0 -17
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/decomposition/tests/test_pca.py +0 -27
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/linear_model/tests/test_logreg.py +0 -28
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/neighbors/lof.py +0 -436
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/decomposition/__init__.py +0 -19
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/decomposition/pca.py +0 -376
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/linear_model/__init__.py +0 -19
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/linear_model/tests/test_preview_logistic_regression.py +0 -59
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/_models_info.py +0 -170
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_monkeypatch.py +0 -227
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_n_jobs_support.py +0 -31
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_patching.py +0 -122
- scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/utils/_launch_algorithms.py +0 -118
- scikit_learn_intelex-2024.1.0.dist-info/RECORD +0 -97
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/__main__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/_config.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/_device_offload.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/_utils.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/basic_statistics/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/basic_statistics/basic_statistics.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/cluster/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/cluster/k_means.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/cluster/tests/test_dbscan.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/cluster/tests/test_kmeans.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/decomposition/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/doc/third-party-programs.txt +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/ensemble/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/glob/__main__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/glob/dispatcher.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/linear_model/coordinate_descent.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/linear_model/logistic_path.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/linear_model/ridge.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/linear_model/tests/test_linear.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/manifold/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/manifold/t_sne.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/manifold/tests/test_tsne.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/metrics/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/metrics/pairwise.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/metrics/ranking.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/metrics/tests/test_metrics.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/model_selection/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/model_selection/split.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/model_selection/tests/test_model_selection.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/neighbors/common.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/preview/cluster/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/preview/cluster/_common.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/preview/covariance/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/preview/covariance/tests/test_covariance.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/basic_statistics/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/basic_statistics/basic_statistics.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/cluster/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/cluster/dbscan.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/cluster/kmeans.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/decomposition/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/decomposition/pca.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/ensemble/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/linear_model/linear_model.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/neighbors/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/spmd/neighbors/neighbors.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/svm/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/svm/_common.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/svm/tests/test_svm.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/tests/test_config.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/tests/test_run_to_run_stability_tests.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/utils/__init__.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/utils/parallel.py +0 -0
- {scikit_learn_intelex-2024.1.0.data → scikit_learn_intelex-2024.3.0.data}/data/Lib/site-packages/sklearnex/utils/validation.py +0 -0
- {scikit_learn_intelex-2024.1.0.dist-info → scikit_learn_intelex-2024.3.0.dist-info}/LICENSE.txt +0 -0
- {scikit_learn_intelex-2024.1.0.dist-info → scikit_learn_intelex-2024.3.0.dist-info}/WHEEL +0 -0
- {scikit_learn_intelex-2024.1.0.dist-info → scikit_learn_intelex-2024.3.0.dist-info}/top_level.txt +0 -0
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_monkeypatch.py
DELETED
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
# ===============================================================================
|
|
2
|
-
# Copyright 2021 Intel Corporation
|
|
3
|
-
#
|
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
# you may not use this file except in compliance with the License.
|
|
6
|
-
# You may obtain a copy of the License at
|
|
7
|
-
#
|
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
#
|
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
# See the License for the specific language governing permissions and
|
|
14
|
-
# limitations under the License.
|
|
15
|
-
# ===============================================================================
|
|
16
|
-
|
|
17
|
-
import sklearnex
|
|
18
|
-
from daal4py.sklearn._utils import daal_check_version
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
def test_monkey_patching():
|
|
22
|
-
_tokens = sklearnex.get_patch_names()
|
|
23
|
-
_values = sklearnex.get_patch_map().values()
|
|
24
|
-
_classes = list()
|
|
25
|
-
|
|
26
|
-
for v in _values:
|
|
27
|
-
for c in v:
|
|
28
|
-
_classes.append(c[0])
|
|
29
|
-
|
|
30
|
-
sklearnex.patch_sklearn()
|
|
31
|
-
|
|
32
|
-
for i, _ in enumerate(_tokens):
|
|
33
|
-
t = _tokens[i]
|
|
34
|
-
p = _classes[i][0]
|
|
35
|
-
n = _classes[i][1]
|
|
36
|
-
|
|
37
|
-
class_module = getattr(p, n).__module__
|
|
38
|
-
assert class_module.startswith("daal4py") or class_module.startswith(
|
|
39
|
-
"sklearnex"
|
|
40
|
-
), "Patching has completed with error."
|
|
41
|
-
|
|
42
|
-
for i, _ in enumerate(_tokens):
|
|
43
|
-
t = _tokens[i]
|
|
44
|
-
p = _classes[i][0]
|
|
45
|
-
n = _classes[i][1]
|
|
46
|
-
|
|
47
|
-
sklearnex.unpatch_sklearn(t)
|
|
48
|
-
class_module = getattr(p, n).__module__
|
|
49
|
-
assert class_module.startswith("sklearn"), "Unpatching has completed with error."
|
|
50
|
-
|
|
51
|
-
sklearnex.unpatch_sklearn()
|
|
52
|
-
|
|
53
|
-
for i, _ in enumerate(_tokens):
|
|
54
|
-
t = _tokens[i]
|
|
55
|
-
p = _classes[i][0]
|
|
56
|
-
n = _classes[i][1]
|
|
57
|
-
|
|
58
|
-
class_module = getattr(p, n).__module__
|
|
59
|
-
assert class_module.startswith("sklearn"), "Unpatching has completed with error."
|
|
60
|
-
|
|
61
|
-
sklearnex.unpatch_sklearn()
|
|
62
|
-
|
|
63
|
-
for i, _ in enumerate(_tokens):
|
|
64
|
-
t = _tokens[i]
|
|
65
|
-
p = _classes[i][0]
|
|
66
|
-
n = _classes[i][1]
|
|
67
|
-
|
|
68
|
-
sklearnex.patch_sklearn(t)
|
|
69
|
-
|
|
70
|
-
class_module = getattr(p, n).__module__
|
|
71
|
-
assert class_module.startswith("daal4py") or class_module.startswith(
|
|
72
|
-
"sklearnex"
|
|
73
|
-
), "Patching has completed with error."
|
|
74
|
-
|
|
75
|
-
sklearnex.unpatch_sklearn()
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
def test_patch_by_list_simple():
|
|
79
|
-
sklearnex.patch_sklearn(["LogisticRegression"])
|
|
80
|
-
|
|
81
|
-
from sklearn.ensemble import RandomForestRegressor
|
|
82
|
-
from sklearn.linear_model import LogisticRegression
|
|
83
|
-
from sklearn.neighbors import KNeighborsRegressor
|
|
84
|
-
from sklearn.svm import SVC
|
|
85
|
-
|
|
86
|
-
assert RandomForestRegressor.__module__.startswith("sklearn")
|
|
87
|
-
assert KNeighborsRegressor.__module__.startswith("sklearn")
|
|
88
|
-
assert LogisticRegression.__module__.startswith("daal4py")
|
|
89
|
-
assert SVC.__module__.startswith("sklearn")
|
|
90
|
-
|
|
91
|
-
sklearnex.unpatch_sklearn()
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
def test_patch_by_list_many_estimators():
|
|
95
|
-
sklearnex.patch_sklearn(["LogisticRegression", "SVC"])
|
|
96
|
-
|
|
97
|
-
from sklearn.ensemble import RandomForestRegressor
|
|
98
|
-
from sklearn.linear_model import LogisticRegression
|
|
99
|
-
from sklearn.neighbors import KNeighborsRegressor
|
|
100
|
-
from sklearn.svm import SVC
|
|
101
|
-
|
|
102
|
-
assert RandomForestRegressor.__module__.startswith("sklearn")
|
|
103
|
-
assert KNeighborsRegressor.__module__.startswith("sklearn")
|
|
104
|
-
assert LogisticRegression.__module__.startswith("daal4py")
|
|
105
|
-
assert SVC.__module__.startswith("daal4py") or SVC.__module__.startswith("sklearnex")
|
|
106
|
-
|
|
107
|
-
sklearnex.unpatch_sklearn()
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
def test_unpatch_by_list_many_estimators():
|
|
111
|
-
sklearnex.patch_sklearn()
|
|
112
|
-
|
|
113
|
-
from sklearn.ensemble import RandomForestRegressor
|
|
114
|
-
from sklearn.linear_model import LogisticRegression
|
|
115
|
-
from sklearn.neighbors import KNeighborsRegressor
|
|
116
|
-
from sklearn.svm import SVC
|
|
117
|
-
|
|
118
|
-
assert RandomForestRegressor.__module__.startswith("sklearnex")
|
|
119
|
-
assert KNeighborsRegressor.__module__.startswith(
|
|
120
|
-
"daal4py"
|
|
121
|
-
) or KNeighborsRegressor.__module__.startswith("sklearnex")
|
|
122
|
-
assert LogisticRegression.__module__.startswith("daal4py")
|
|
123
|
-
assert SVC.__module__.startswith("daal4py") or SVC.__module__.startswith("sklearnex")
|
|
124
|
-
|
|
125
|
-
sklearnex.unpatch_sklearn(["KNeighborsRegressor", "RandomForestRegressor"])
|
|
126
|
-
|
|
127
|
-
from sklearn.ensemble import RandomForestRegressor
|
|
128
|
-
from sklearn.linear_model import LogisticRegression
|
|
129
|
-
from sklearn.neighbors import KNeighborsRegressor
|
|
130
|
-
from sklearn.svm import SVC
|
|
131
|
-
|
|
132
|
-
assert RandomForestRegressor.__module__.startswith("sklearn")
|
|
133
|
-
assert KNeighborsRegressor.__module__.startswith("sklearn")
|
|
134
|
-
assert LogisticRegression.__module__.startswith("daal4py")
|
|
135
|
-
assert SVC.__module__.startswith("daal4py") or SVC.__module__.startswith("sklearnex")
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
def test_patching_checker():
|
|
139
|
-
for name in [None, "SVC", "PCA"]:
|
|
140
|
-
sklearnex.patch_sklearn(name=name)
|
|
141
|
-
assert sklearnex.sklearn_is_patched(name=name)
|
|
142
|
-
|
|
143
|
-
sklearnex.unpatch_sklearn(name=name)
|
|
144
|
-
assert not sklearnex.sklearn_is_patched(name=name)
|
|
145
|
-
|
|
146
|
-
sklearnex.patch_sklearn()
|
|
147
|
-
patching_status_map = sklearnex.sklearn_is_patched(return_map=True)
|
|
148
|
-
assert len(patching_status_map) == len(sklearnex.get_patch_names())
|
|
149
|
-
for status in patching_status_map.values():
|
|
150
|
-
assert status
|
|
151
|
-
|
|
152
|
-
sklearnex.unpatch_sklearn()
|
|
153
|
-
patching_status_map = sklearnex.sklearn_is_patched(return_map=True)
|
|
154
|
-
assert len(patching_status_map) == len(sklearnex.get_patch_names())
|
|
155
|
-
for status in patching_status_map.values():
|
|
156
|
-
assert not status
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
def test_preview_namespace():
|
|
160
|
-
def get_estimators():
|
|
161
|
-
from sklearn.cluster import DBSCAN
|
|
162
|
-
from sklearn.decomposition import PCA
|
|
163
|
-
from sklearn.ensemble import RandomForestClassifier
|
|
164
|
-
from sklearn.linear_model import LinearRegression, LogisticRegression
|
|
165
|
-
from sklearn.svm import SVC
|
|
166
|
-
|
|
167
|
-
return (
|
|
168
|
-
LinearRegression(),
|
|
169
|
-
LogisticRegression(),
|
|
170
|
-
PCA(),
|
|
171
|
-
DBSCAN(),
|
|
172
|
-
SVC(),
|
|
173
|
-
RandomForestClassifier(),
|
|
174
|
-
)
|
|
175
|
-
|
|
176
|
-
# BUG: previous patching tests force PCA to be patched with daal4py.
|
|
177
|
-
# This unpatching returns behavior to expected
|
|
178
|
-
sklearnex.unpatch_sklearn()
|
|
179
|
-
# behavior with enabled preview
|
|
180
|
-
sklearnex.patch_sklearn(preview=True)
|
|
181
|
-
from sklearnex.dispatcher import _is_preview_enabled
|
|
182
|
-
|
|
183
|
-
assert _is_preview_enabled()
|
|
184
|
-
|
|
185
|
-
lr, log_reg, pca, dbscan, svc, rfc = get_estimators()
|
|
186
|
-
assert "sklearnex" in rfc.__module__
|
|
187
|
-
|
|
188
|
-
if daal_check_version((2023, "P", 100)):
|
|
189
|
-
assert "sklearnex" in lr.__module__
|
|
190
|
-
else:
|
|
191
|
-
assert "daal4py" in lr.__module__
|
|
192
|
-
|
|
193
|
-
if daal_check_version((2024, "P", 1)):
|
|
194
|
-
assert "sklearnex" in log_reg.__module__
|
|
195
|
-
else:
|
|
196
|
-
assert "daal4py" in log_reg.__module__
|
|
197
|
-
|
|
198
|
-
assert "sklearnex.preview" in pca.__module__
|
|
199
|
-
assert "sklearnex" in dbscan.__module__
|
|
200
|
-
assert "sklearnex" in svc.__module__
|
|
201
|
-
sklearnex.unpatch_sklearn()
|
|
202
|
-
|
|
203
|
-
# no patching behavior
|
|
204
|
-
lr, log_reg, pca, dbscan, svc, rfc = get_estimators()
|
|
205
|
-
assert "sklearn." in lr.__module__ and "daal4py" not in lr.__module__
|
|
206
|
-
assert "sklearn." in log_reg.__module__ and "daal4py" not in log_reg.__module__
|
|
207
|
-
assert "sklearn." in pca.__module__ and "daal4py" not in pca.__module__
|
|
208
|
-
assert "sklearn." in dbscan.__module__ and "daal4py" not in dbscan.__module__
|
|
209
|
-
assert "sklearn." in svc.__module__ and "daal4py" not in svc.__module__
|
|
210
|
-
assert "sklearn." in rfc.__module__ and "daal4py" not in rfc.__module__
|
|
211
|
-
|
|
212
|
-
# default patching behavior
|
|
213
|
-
sklearnex.patch_sklearn()
|
|
214
|
-
assert not _is_preview_enabled()
|
|
215
|
-
|
|
216
|
-
lr, log_reg, pca, dbscan, svc, rfc = get_estimators()
|
|
217
|
-
if daal_check_version((2023, "P", 100)):
|
|
218
|
-
assert "sklearnex" in lr.__module__
|
|
219
|
-
else:
|
|
220
|
-
assert "daal4py" in lr.__module__
|
|
221
|
-
|
|
222
|
-
assert "daal4py" in log_reg.__module__
|
|
223
|
-
assert "daal4py" in pca.__module__
|
|
224
|
-
assert "sklearnex" in rfc.__module__
|
|
225
|
-
assert "sklearnex" in dbscan.__module__
|
|
226
|
-
assert "sklearnex" in svc.__module__
|
|
227
|
-
sklearnex.unpatch_sklearn()
|
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_n_jobs_support.py
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# ==============================================================================
|
|
2
|
-
# Copyright 2023 Intel Corporation
|
|
3
|
-
#
|
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
# you may not use this file except in compliance with the License.
|
|
6
|
-
# You may obtain a copy of the License at
|
|
7
|
-
#
|
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
#
|
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
# See the License for the specific language governing permissions and
|
|
14
|
-
# limitations under the License.
|
|
15
|
-
# ==============================================================================
|
|
16
|
-
|
|
17
|
-
import pytest
|
|
18
|
-
|
|
19
|
-
from sklearnex.cluster import KMeans
|
|
20
|
-
from sklearnex.linear_model import ElasticNet, Lasso, Ridge
|
|
21
|
-
from sklearnex.svm import SVC, SVR, NuSVC, NuSVR
|
|
22
|
-
|
|
23
|
-
estimators = [KMeans, SVC, SVR, NuSVC, NuSVR, Lasso, Ridge, ElasticNet]
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
@pytest.mark.parametrize("estimator", estimators)
|
|
27
|
-
def test_n_jobs_support(estimator):
|
|
28
|
-
# use `n_jobs` parameter where original sklearn doesn't expect it
|
|
29
|
-
estimator(n_jobs=1)
|
|
30
|
-
# check `n_jobs` parameter doc entry
|
|
31
|
-
assert "n_jobs" in estimator.__doc__
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
# ==============================================================================
|
|
2
|
-
# Copyright 2021 Intel Corporation
|
|
3
|
-
#
|
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
# you may not use this file except in compliance with the License.
|
|
6
|
-
# You may obtain a copy of the License at
|
|
7
|
-
#
|
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
#
|
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
# See the License for the specific language governing permissions and
|
|
14
|
-
# limitations under the License.
|
|
15
|
-
# ==============================================================================
|
|
16
|
-
|
|
17
|
-
import os
|
|
18
|
-
import pathlib
|
|
19
|
-
import re
|
|
20
|
-
import subprocess
|
|
21
|
-
import sys
|
|
22
|
-
from inspect import isclass
|
|
23
|
-
|
|
24
|
-
import pytest
|
|
25
|
-
from _models_info import TO_SKIP
|
|
26
|
-
from sklearn.base import BaseEstimator
|
|
27
|
-
|
|
28
|
-
from sklearnex import get_patch_map, is_patched_instance, patch_sklearn, unpatch_sklearn
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
def get_branch(s):
|
|
32
|
-
if len(s) == 0:
|
|
33
|
-
return "NO INFO"
|
|
34
|
-
for i in s:
|
|
35
|
-
if "failed to run accelerated version, fallback to original Scikit-learn" in i:
|
|
36
|
-
return "was in OPT, but go in Scikit"
|
|
37
|
-
for i in s:
|
|
38
|
-
if "running accelerated version" in i:
|
|
39
|
-
return "OPT"
|
|
40
|
-
return "Scikit"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
def run_parse(mas, result):
|
|
44
|
-
name, dtype = mas[0].split()
|
|
45
|
-
temp = []
|
|
46
|
-
INFO_POS = 16
|
|
47
|
-
for i in range(1, len(mas)):
|
|
48
|
-
mas[i] = mas[i][INFO_POS:] # remove 'SKLEARNEX INFO: '
|
|
49
|
-
if not mas[i].startswith("sklearn"):
|
|
50
|
-
ind = name + " " + dtype + " " + mas[i]
|
|
51
|
-
result[ind] = get_branch(temp)
|
|
52
|
-
temp.clear()
|
|
53
|
-
else:
|
|
54
|
-
temp.append(mas[i])
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
def get_result_log():
|
|
58
|
-
os.environ["SKLEARNEX_VERBOSE"] = "INFO"
|
|
59
|
-
absolute_path = str(pathlib.Path(__file__).parent.absolute())
|
|
60
|
-
try:
|
|
61
|
-
process = subprocess.check_output(
|
|
62
|
-
[sys.executable, absolute_path + "/utils/_launch_algorithms.py"]
|
|
63
|
-
)
|
|
64
|
-
except subprocess.CalledProcessError as e:
|
|
65
|
-
print(e)
|
|
66
|
-
exit(1)
|
|
67
|
-
mas = []
|
|
68
|
-
result = {}
|
|
69
|
-
for i in process.decode().split("\n"):
|
|
70
|
-
if i.startswith("SKLEARNEX WARNING"):
|
|
71
|
-
continue
|
|
72
|
-
if not i.startswith("SKLEARNEX INFO") and len(mas) != 0:
|
|
73
|
-
run_parse(mas, result)
|
|
74
|
-
mas.clear()
|
|
75
|
-
mas.append(i.strip())
|
|
76
|
-
else:
|
|
77
|
-
mas.append(i.strip())
|
|
78
|
-
del os.environ["SKLEARNEX_VERBOSE"]
|
|
79
|
-
return result
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
result_log = get_result_log()
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
@pytest.mark.parametrize("configuration", result_log)
|
|
86
|
-
def test_patching(configuration):
|
|
87
|
-
if "OPT" in result_log[configuration]:
|
|
88
|
-
return
|
|
89
|
-
for skip in TO_SKIP:
|
|
90
|
-
if re.search(skip, configuration) is not None:
|
|
91
|
-
pytest.skip("SKIPPED", allow_module_level=False)
|
|
92
|
-
raise ValueError("Test patching failed: " + configuration)
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
def _load_all_models(patched):
|
|
96
|
-
if patched:
|
|
97
|
-
patch_sklearn()
|
|
98
|
-
|
|
99
|
-
models = []
|
|
100
|
-
for patch_infos in get_patch_map().values():
|
|
101
|
-
maybe_class = getattr(patch_infos[0][0][0], patch_infos[0][0][1])
|
|
102
|
-
if (
|
|
103
|
-
maybe_class is not None
|
|
104
|
-
and isclass(maybe_class)
|
|
105
|
-
and issubclass(maybe_class, BaseEstimator)
|
|
106
|
-
):
|
|
107
|
-
models.append(maybe_class())
|
|
108
|
-
|
|
109
|
-
if patched:
|
|
110
|
-
unpatch_sklearn()
|
|
111
|
-
|
|
112
|
-
return models
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
PATCHED_MODELS = _load_all_models(patched=True)
|
|
116
|
-
UNPATCHED_MODELS = _load_all_models(patched=False)
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
@pytest.mark.parametrize(("patched", "unpatched"), zip(PATCHED_MODELS, UNPATCHED_MODELS))
|
|
120
|
-
def test_is_patched_instance(patched, unpatched):
|
|
121
|
-
assert is_patched_instance(patched), f"{patched} is a patched instance"
|
|
122
|
-
assert not is_patched_instance(unpatched), f"{unpatched} is an unpatched instance"
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
# ==============================================================================
|
|
2
|
-
# Copyright 2021 Intel Corporation
|
|
3
|
-
#
|
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
# you may not use this file except in compliance with the License.
|
|
6
|
-
# You may obtain a copy of the License at
|
|
7
|
-
#
|
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
#
|
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
# See the License for the specific language governing permissions and
|
|
14
|
-
# limitations under the License.
|
|
15
|
-
# ==============================================================================
|
|
16
|
-
|
|
17
|
-
import logging
|
|
18
|
-
import random
|
|
19
|
-
|
|
20
|
-
import numpy as np
|
|
21
|
-
|
|
22
|
-
from sklearnex import patch_sklearn
|
|
23
|
-
|
|
24
|
-
patch_sklearn()
|
|
25
|
-
|
|
26
|
-
import pathlib
|
|
27
|
-
import sys
|
|
28
|
-
|
|
29
|
-
from sklearn.datasets import load_diabetes, load_iris, make_regression
|
|
30
|
-
from sklearn.metrics import pairwise_distances, roc_auc_score
|
|
31
|
-
|
|
32
|
-
absolute_path = str(pathlib.Path(__file__).parent.absolute())
|
|
33
|
-
sys.path.append(absolute_path + "/../")
|
|
34
|
-
from _models_info import MODELS_INFO, TYPES
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
def get_class_name(x):
|
|
38
|
-
return x.__class__.__name__
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
def generate_dataset(name, dtype, model_name):
|
|
42
|
-
if model_name == "LinearRegression":
|
|
43
|
-
X, y = make_regression(n_samples=1000, n_features=5)
|
|
44
|
-
elif name in ["blobs", "classifier"]:
|
|
45
|
-
X, y = load_iris(return_X_y=True)
|
|
46
|
-
elif name == "regression":
|
|
47
|
-
X, y = load_diabetes(return_X_y=True)
|
|
48
|
-
else:
|
|
49
|
-
raise ValueError("Unknown dataset type")
|
|
50
|
-
X = np.array(X, dtype=dtype)
|
|
51
|
-
y = np.array(y, dtype=dtype)
|
|
52
|
-
return (X, y)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
def run_patch(model_info, dtype):
|
|
56
|
-
print(get_class_name(model_info["model"]), dtype.__name__)
|
|
57
|
-
X, y = generate_dataset(
|
|
58
|
-
model_info["dataset"], dtype, get_class_name(model_info["model"])
|
|
59
|
-
)
|
|
60
|
-
model = model_info["model"]
|
|
61
|
-
model.fit(X, y)
|
|
62
|
-
logging.info("fit")
|
|
63
|
-
for i in model_info["methods"]:
|
|
64
|
-
if i == "predict":
|
|
65
|
-
model.predict(X)
|
|
66
|
-
elif i == "predict_proba":
|
|
67
|
-
model.predict_proba(X)
|
|
68
|
-
elif i == "predict_log_proba":
|
|
69
|
-
model.predict_log_proba(X)
|
|
70
|
-
elif i == "decision_function":
|
|
71
|
-
model.decision_function(X)
|
|
72
|
-
elif i == "fit_predict":
|
|
73
|
-
model.fit_predict(X)
|
|
74
|
-
elif i == "transform":
|
|
75
|
-
model.transform(X)
|
|
76
|
-
elif i == "fit_transform":
|
|
77
|
-
model.fit_transform(X)
|
|
78
|
-
elif i == "kneighbors":
|
|
79
|
-
model.kneighbors(X)
|
|
80
|
-
elif i == "score":
|
|
81
|
-
model.score(X, y)
|
|
82
|
-
else:
|
|
83
|
-
raise ValueError(i + " is wrong method")
|
|
84
|
-
logging.info(i)
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
def run_algotithms():
|
|
88
|
-
for info in MODELS_INFO:
|
|
89
|
-
for t in TYPES:
|
|
90
|
-
model_name = get_class_name(info["model"])
|
|
91
|
-
if model_name in ["Ridge", "LinearRegression"] and t.__name__ == "uint32":
|
|
92
|
-
continue
|
|
93
|
-
run_patch(info, t)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
def run_utils():
|
|
97
|
-
# pairwise_distances
|
|
98
|
-
for metric in ["cosine", "correlation"]:
|
|
99
|
-
for t in TYPES:
|
|
100
|
-
X = np.random.rand(1000)
|
|
101
|
-
X = np.array(X, dtype=t)
|
|
102
|
-
print("pairwise_distances", t.__name__)
|
|
103
|
-
_ = pairwise_distances(X.reshape(1, -1), metric=metric)
|
|
104
|
-
logging.info("pairwise_distances")
|
|
105
|
-
# roc_auc_score
|
|
106
|
-
for t in [np.float32, np.float64]:
|
|
107
|
-
a = [random.randint(0, 1) for i in range(1000)]
|
|
108
|
-
b = [random.randint(0, 1) for i in range(1000)]
|
|
109
|
-
a = np.array(a, dtype=t)
|
|
110
|
-
b = np.array(b, dtype=t)
|
|
111
|
-
print("roc_auc_score", t.__name__)
|
|
112
|
-
_ = roc_auc_score(a, b)
|
|
113
|
-
logging.info("roc_auc_score")
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
if __name__ == "__main__":
|
|
117
|
-
run_algotithms()
|
|
118
|
-
run_utils()
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/__init__.py,sha256=ScbLh27pOsTushgVj4zxZsNOLLYct65-7XrD_96Pu94,1648
|
|
2
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/__main__.py,sha256=Le9BJq6aLEGSSoZwJLsOADxsV89ynBfA8BcoJHk9F24,1921
|
|
3
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/_config.py,sha256=6WS3UuS4-0DxIJyGn7yQMosj-mGkLybLQrg3W7dED5o,3928
|
|
4
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/_device_offload.py,sha256=J0tZqj6tfvIFonWR01PadtTLgloQk_QEfXeCoqEvJlk,7710
|
|
5
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/_utils.py,sha256=EV4jC3plVdndsgrfPBsJZTzggrRdYWLwOpoIRWtTXt4,3812
|
|
6
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/dispatcher.py,sha256=9prbr6QrUWjc8wq1OyTxhuFEIKlTR-Qup9ZMfNszBPE,12884
|
|
7
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/basic_statistics/__init__.py,sha256=NA5RGlwcp27UEeCgz0ngzYYd3MAIRpxlTy86uhM2-RE,821
|
|
8
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/basic_statistics/basic_statistics.py,sha256=j5jBZ3DgXjoyjCBEFfYQHyl3LgLXEWWFnNHwInThdZw,796
|
|
9
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/cluster/__init__.py,sha256=TsDzdbKzEubaP86iY8a7mSW0ZQzgjzGYuPkhc5lZmlQ,853
|
|
10
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/cluster/dbscan.py,sha256=o3ZJVsvQXGG5y2bUja7Xd0V57VQGmB93FWDbKVo20kw,6674
|
|
11
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/cluster/k_means.py,sha256=1QKcFUQcnycu8kSD8uYSaDIuedHbxZsV_gvUfcEwVAM,806
|
|
12
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/cluster/tests/test_dbscan.py,sha256=AgFoKwXFVyLKLvEtJVs0qlbBs1Ci3PcRft7f-6_ENOU,1464
|
|
13
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/cluster/tests/test_kmeans.py,sha256=H3a9NSHRRSASo0Eceo44Kjq6GwEoMqMzcubaNt1s1QQ,1213
|
|
14
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/decomposition/__init__.py,sha256=RJBYDWyvnn5DA-j5r4IqVdXLp6H4mdPySsSjnXhlv-U,805
|
|
15
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/decomposition/pca.py,sha256=68ksLxTP5fMOUhRmiIq9QNm0YzQanBNzxsq-zA8DKaY,809
|
|
16
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/decomposition/tests/test_pca.py,sha256=aP4gxjML38CFpknwNVIkZLQCc8t2rqYGlWVo03vsMfE,1146
|
|
17
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/doc/third-party-programs.txt,sha256=qA1XbOqYkMRnp29p8VxXjfcH0kHE8NSO5s2heea83-8,21773
|
|
18
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/ensemble/__init__.py,sha256=2xB2KfG7l7uJv0p3kfVhrs4KLM174SCsigZhYqwSYAA,1035
|
|
19
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/ensemble/_forest.py,sha256=Q3foDFaNmEHVeYjK8dIvP_-6GvSEV7dYPTXCrVN0e6A,70441
|
|
20
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/ensemble/tests/test_forest.py,sha256=KoETKE1sSpKgp38s9bepAujJjcG21eFX5RyYINcHCUo,4516
|
|
21
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/glob/__main__.py,sha256=--FAjkhh5E6a1TFOGu6_BM3MHe78jP8oSpl0xKiRtTI,2531
|
|
22
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/glob/dispatcher.py,sha256=IEEPhAOCVzC2JDFvYtijbiPAbaUY5RrCAhFLRjMMe1w,3018
|
|
23
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/linear_model/__init__.py,sha256=97jj68r_V3JmsO8sZJt9BXlXazAPAzAz0E56dsNu4Sk,1100
|
|
24
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/linear_model/coordinate_descent.py,sha256=uZOHIKfFlHoMlNXZCh2MAnZE30fRZlmtcF7UsZQ3Vq4,822
|
|
25
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/linear_model/linear.py,sha256=see-YysI8U1ilseHlerfcb97BFmenaubW-3BmDy0ixI,13870
|
|
26
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/linear_model/logistic_path.py,sha256=Nq3JPXSzE4bjamnP3gGQtsMKks2v7s6bSiuYRnFqrRw,849
|
|
27
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/linear_model/ridge.py,sha256=0oxlM5McYYvl0KxK9OIGJKM6lOADuFSPTdfx-efJNTI,810
|
|
28
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/linear_model/tests/test_linear.py,sha256=li9LLWgap6YCwvNiHQ9yHduvUIsK1lpXfuVNR3dLwig,3200
|
|
29
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/linear_model/tests/test_logreg.py,sha256=KO4240ACvhLsVHC_H09lhj4APUWPxmimHBE1JoY6TB8,1175
|
|
30
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/manifold/__init__.py,sha256=3FU5fY1YvHAyNeSlUHsZfPnAbvlAUtZpum0Obmok2KE,809
|
|
31
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/manifold/t_sne.py,sha256=U6F_dGB6taVuEJvTnVBWD-sri3x3m0Khu3HI4wXidhg,805
|
|
32
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/manifold/tests/test_tsne.py,sha256=SNqe1yg45mL4qIsxpX5hDpBsIyrv9r__6wfrerjp3yU,1063
|
|
33
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/metrics/__init__.py,sha256=EHOCTU9RERa0Rrkr4dgmyO9ippbN5kjH_FwK3BqIROc,907
|
|
34
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/metrics/pairwise.py,sha256=5T_Vcbiadzi7oo0hq6vLl_BHQzXOmDsn5pHaMCPSHd8,818
|
|
35
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/metrics/ranking.py,sha256=rjJxQntblbegSZRwDsOOy2ntIYBqlnV8NM46IAc0MiE,813
|
|
36
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/metrics/tests/test_metrics.py,sha256=Nwfz8UV4V4fKLLY7f9P9eg8uY09xLXaFx1GC49TOiA8,1579
|
|
37
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/model_selection/__init__.py,sha256=64045Y-nzLDBepO6IRjt88LhL2DM3KdvpCF2vvj_RpA,842
|
|
38
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/model_selection/split.py,sha256=qjmy8sRf_QEG8LhT0ivn_tICMCYmt7ffZZV1-rLQnko,824
|
|
39
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/model_selection/tests/test_model_selection.py,sha256=3kZIq8kba8SW93DBWXupoRymNStR1_mGGYSErQRnwME,1338
|
|
40
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/neighbors/__init__.py,sha256=fyxRt3wosR6Tg_QYWOOt477jLisT2iZl6CzfTL1y9ro,1077
|
|
41
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/neighbors/common.py,sha256=iia-EUIRUIohDCIGpHbVx2PeDlwUvz4Mj1Tn169jidA,10781
|
|
42
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/neighbors/knn_classification.py,sha256=z6-GgVnOnkyypZGyf0wFOev2Hc8iWy62gfr4dMFFdXM,11023
|
|
43
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/neighbors/knn_regression.py,sha256=Ns_VPJ1ismXcPeJkUp8JxiHe-Y3QqI0d5HZuub7owkQ,9917
|
|
44
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/neighbors/knn_unsupervised.py,sha256=MaapzNDA1wy2ZTuCeqpkKDEMBItrbMoW0p3JniCRCsA,7590
|
|
45
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/neighbors/lof.py,sha256=XNnqrOnpIC5apeg6nToxeGqjQNIEp7sotflmm9iF4UY,16264
|
|
46
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/neighbors/tests/test_neighbors.py,sha256=EAGF7Opgf-xWUAWYc6OdDgW5-2XsdkzLK_a35IX4Se4,3565
|
|
47
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/__init__.py,sha256=hZfIgTkkkUVaQ-SKaqI-S_SiXCkUzCUYxpSnbrhhEJU,813
|
|
48
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/cluster/__init__.py,sha256=FONzOuTGAb5NwdfFhLco99P_VccRk9NBkDHU3EKuAIs,794
|
|
49
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/cluster/_common.py,sha256=bgpzijxgyrAtdNCCHyCNsZ-N70KQYNwMuoCTNdUna6o,2718
|
|
50
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/cluster/k_means.py,sha256=hG_hq8dfHM8B97L9T6fPU5TuQB7d3URWHfnB1cskT_8,13022
|
|
51
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/covariance/__init__.py,sha256=DPYTk8lwcVphtwU8J3CyUYH8Uz6Zr0Uz4S6nn-RY5iM,825
|
|
52
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/covariance/covariance.py,sha256=FXcRqdrHAhRNsyD6hG4a63ZxHMOZqdOS9yAqzfPY1LI,3614
|
|
53
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/covariance/tests/test_covariance.py,sha256=GYI4bMIhGnjmOXpt8J7R0JQmpm9eOvDjIphugRa4kD8,2140
|
|
54
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/decomposition/__init__.py,sha256=uRenwBGf7hHQqwAVYbBw3clUQB_HWUqJGOAKTuCnrcM,805
|
|
55
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/decomposition/pca.py,sha256=KkbK3NwBCvE_0eQryI3zFiwlXPiNdj4dCQd2ywgSIn8,14341
|
|
56
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/decomposition/tests/test_preview_pca.py,sha256=xcllHM-jDIq33rAWTeh_gjhS2qfCNbUIAI5KeLPA8aY,1790
|
|
57
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/linear_model/__init__.py,sha256=Xr9Gk6mCq794GDLA2UlJPiLovOhZAx6rA5Bu123L-Rg,832
|
|
58
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/linear_model/logistic_regression.py,sha256=KIqpboN15BFV4BOyEokc5LF9eiqwBetlx2i27WBNIK0,13377
|
|
59
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/preview/linear_model/tests/test_preview_logistic_regression.py,sha256=UjHXFhlea2P7feUKC64uHGNOhJpEaM2EZoAK0JJbz3I,2422
|
|
60
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/__init__.py,sha256=8cxQy-oCFy1TJto0qoRf4lt98siPx2c-YV99YC-sk6s,871
|
|
61
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/basic_statistics/__init__.py,sha256=NA5RGlwcp27UEeCgz0ngzYYd3MAIRpxlTy86uhM2-RE,821
|
|
62
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/basic_statistics/basic_statistics.py,sha256=_dQ9mhVYxeuChATEpAmHpXDpgW3YvtK1qrG-kLr2MtI,886
|
|
63
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/cluster/__init__.py,sha256=qBBfrCHh6_82EROLbu54XKk7SmmRwS1XJyCj0zwkoUw,1029
|
|
64
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/cluster/dbscan.py,sha256=23YNzPhx4MZijU0md-E3ZkHpTkhUh5cmtS3loHe-KhI,1824
|
|
65
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/cluster/kmeans.py,sha256=Rnb9tr9LXVto5vCAumk7ZJfa9BYYDhdD1qUWL-QK5bY,868
|
|
66
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/decomposition/__init__.py,sha256=dBh0ZMIiaqdf3DKbt8FWNB2K9Iacs395m8OxaDFQg_M,784
|
|
67
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/decomposition/pca.py,sha256=CUrsVD2jae-A9H8RB_emza_fe82CwnFa5PEy0fW_EZ8,871
|
|
68
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/ensemble/__init__.py,sha256=B3yi7hWoVogMIiw0QRT_x5atsAFS-OO72YPLGeUQJ8M,873
|
|
69
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/ensemble/forest.py,sha256=ao6lyzcxoRW-RG9xIYwtDFyM7JIjlF8wmQKpOv_oSRQ,3113
|
|
70
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/linear_model/__init__.py,sha256=eCJGleo00O6c280G97i18KNmSvi6uwX7wM1ZN5JMqhw,819
|
|
71
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/linear_model/linear_model.py,sha256=7QPCIQTWKBiZBTDZZbpZXi-REgxQCfRMt6rHPJAnc5E,883
|
|
72
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/neighbors/__init__.py,sha256=S16sH8N_18LN_8AgC_wGK5EDSNyuN-F-gI6GVlaiWVE,906
|
|
73
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/spmd/neighbors/neighbors.py,sha256=SiKAS_RVt34MUcGytBS5pHnI_5vFNxJn8jqt1MOhDh8,940
|
|
74
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/svm/__init__.py,sha256=f3e4ZFwZfx6MsXsn94VK1xVm6mWKT5XCiHczo6zNyAQ,1057
|
|
75
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/svm/_common.py,sha256=Dt1Iyz1g04zOW6hn9cHa9ruzM_MHAIq0ZEEIxh5s7nI,7167
|
|
76
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/svm/nusvc.py,sha256=0-18XPzyhxQpD1nqVaUS-cymdnqZDCqZbCznD-oLr_U,8983
|
|
77
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/svm/nusvr.py,sha256=BJiQYQV5-YS5P0DZTh3k-vvbGuu-GWZI3QBUsuxLMak,5215
|
|
78
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/svm/svc.py,sha256=FL5GLMh82nhqUfaWjbAivghXq5iM9V_AVtkp_MAhCnI,10263
|
|
79
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/svm/svr.py,sha256=dsVkOGsJ5qqx7uaWkkc5Dv7zwYaZrC1mUgcPQOadq7s,5219
|
|
80
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/svm/tests/test_svm.py,sha256=Ru-aGNGCsRJts7SEEYbnKcVqUx-DqPyUtw-hEoMVpW8,4190
|
|
81
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/_models_info.py,sha256=xhjvnU3TvQg8J5Cih2hphWAOSsT8DnKmCyYbtwa0Qvs,4785
|
|
82
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_config.py,sha256=SnSJjxAAysISDyC3bYKSJiRHStkB9X-yjLeF11LpRog,1372
|
|
83
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_memory_usage.py,sha256=-9S5EY9Ivy6WRW18IJEY1uyJxo9073GwXHybnFrJULc,7381
|
|
84
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_monkeypatch.py,sha256=D1ATlQtrNAtpHE7zmIxl7Mv41HxmRDRFAnjBmkUDGW8,8233
|
|
85
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_n_jobs_support.py,sha256=fa_XVNbBm5YQIguz5mgiQM8jmf2pQ7IwE8mgutyAbxk,1242
|
|
86
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_parallel.py,sha256=bMu22noUvGiDX4oyxKIHPiOEoBP9lRQQUq6wq8ZD730,1776
|
|
87
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_patching.py,sha256=6H0Um6N5qhD5OZ875HhAcKPFXM81les5XWCCsaNyMb8,3759
|
|
88
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/test_run_to_run_stability_tests.py,sha256=4HDOeJruA1EDILbyQJtsHFmEXC0D1upSHuOT-KyTlEc,14008
|
|
89
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/tests/utils/_launch_algorithms.py,sha256=pJT5tAW9rWvk7GT37R-B0-e8SLz8e9FSZw8yu4LWNJ4,3724
|
|
90
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/utils/__init__.py,sha256=I8mbJQ3Zsm_F3sCLAhJQb7tUrG30kVsQ-wZoqA8vDdA,842
|
|
91
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/utils/parallel.py,sha256=VBcS-KUdyq7XpJUN6ygmNjyWtYLroghbvCxQ8nVU3YI,2085
|
|
92
|
-
scikit_learn_intelex-2024.1.0.data/data/Lib/site-packages/sklearnex/utils/validation.py,sha256=fjfhQiKnBQnD7LCBlacMyvsrhGnlMLRXk5Q69uoZIP4,827
|
|
93
|
-
scikit_learn_intelex-2024.1.0.dist-info/LICENSE.txt,sha256=rVeK6nE7qRmAwbwjnG9ENguRsDgzEkFn5MZL2IU6QgY,10999
|
|
94
|
-
scikit_learn_intelex-2024.1.0.dist-info/METADATA,sha256=sz6dRFTUvaAutTr6SCt3KtiVggxYbgdSer0zdMJZKws,12448
|
|
95
|
-
scikit_learn_intelex-2024.1.0.dist-info/WHEEL,sha256=_mirCU3VqBkRg05GlFfL1iQhADh7G8CWWIIWBtiop1Q,100
|
|
96
|
-
scikit_learn_intelex-2024.1.0.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
97
|
-
scikit_learn_intelex-2024.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|