Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 83a7e0a

Browse filesBrowse files
author
Kei Ishikawa
committed
Revert "Merge branch 'main' into fix/kernel_pca_inverse_transform"
This reverts commit 8d618ee, reversing changes made to c3822ac.
1 parent ab5334c commit 83a7e0a
Copy full SHA for 83a7e0a

File tree

133 files changed

+996
-3508
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner

133 files changed

+996
-3508
lines changed

‎.github/ISSUE_TEMPLATE/config.yml

Copy file name to clipboard
+3-6Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Discussions
4-
url: https://github.com/scikit-learn/scikit-learn/discussions/new
4+
url: https://github.com/scikit-learn/scikit-learn/discussions
55
about: Ask questions and discuss with other scikit-learn community members
6-
- name: Stack Overflow
6+
- name: Stack overflow
77
url: https://stackoverflow.com/questions/tagged/scikit-learn
8-
about: Please ask and answer usage questions on Stack Overflow
8+
about: Please ask and answer usage questions on stackoverflow
99
- name: Mailing list
1010
url: https://mail.python.org/mailman/listinfo/scikit-learn
1111
about: General discussions and announcements on the mailing list
1212
- name: Gitter
1313
url: https://gitter.im/scikit-learn/scikit-learn
1414
about: Users and developers can sometimes be found on the gitter channel
15-
- name: Blank issue
16-
url: https://github.com/scikit-learn/scikit-learn/issues/new
17-
about: Please note that Github Discussions should be used in most cases instead
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Other
3+
about: For all other issues to reach the community...
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+

‎asv_benchmarks/benchmarks/ensemble.py

Copy file name to clipboardExpand all lines: asv_benchmarks/benchmarks/ensemble.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from sklearn.experimental import enable_hist_gradient_boosting # noqa
12
from sklearn.ensemble import (RandomForestClassifier,
23
GradientBoostingClassifier,
34
HistGradientBoostingClassifier)

‎benchmarks/bench_hist_gradient_boosting.py

Copy file name to clipboardExpand all lines: benchmarks/bench_hist_gradient_boosting.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import matplotlib.pyplot as plt
55
import numpy as np
66
from sklearn.model_selection import train_test_split
7+
# To use this experimental feature, we need to explicitly ask for it:
8+
from sklearn.experimental import enable_hist_gradient_boosting # noqa
79
from sklearn.ensemble import HistGradientBoostingRegressor
810
from sklearn.ensemble import HistGradientBoostingClassifier
911
from sklearn.datasets import make_classification

‎benchmarks/bench_hist_gradient_boosting_adult.py

Copy file name to clipboardExpand all lines: benchmarks/bench_hist_gradient_boosting_adult.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from sklearn.model_selection import train_test_split
55
from sklearn.datasets import fetch_openml
66
from sklearn.metrics import accuracy_score, roc_auc_score
7+
from sklearn.experimental import enable_hist_gradient_boosting # noqa
78
from sklearn.ensemble import HistGradientBoostingClassifier
89
from sklearn.ensemble._hist_gradient_boosting.utils import (
910
get_equivalent_estimator)

‎benchmarks/bench_hist_gradient_boosting_categorical_only.py

Copy file name to clipboardExpand all lines: benchmarks/bench_hist_gradient_boosting_categorical_only.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
from sklearn.preprocessing import KBinsDiscretizer
55
from sklearn.datasets import make_classification
6+
from sklearn.experimental import enable_hist_gradient_boosting # noqa
67
from sklearn.ensemble import HistGradientBoostingClassifier
78
from sklearn.ensemble._hist_gradient_boosting.utils import (
89
get_equivalent_estimator)

‎benchmarks/bench_hist_gradient_boosting_higgsboson.py

Copy file name to clipboardExpand all lines: benchmarks/bench_hist_gradient_boosting_higgsboson.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
from joblib import Memory
1010
from sklearn.model_selection import train_test_split
1111
from sklearn.metrics import accuracy_score, roc_auc_score
12+
# To use this experimental feature, we need to explicitly ask for it:
13+
from sklearn.experimental import enable_hist_gradient_boosting # noqa
1214
from sklearn.ensemble import HistGradientBoostingClassifier
1315
from sklearn.ensemble._hist_gradient_boosting.utils import (
1416
get_equivalent_estimator)

‎benchmarks/bench_hist_gradient_boosting_threading.py

Copy file name to clipboardExpand all lines: benchmarks/bench_hist_gradient_boosting_threading.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
from threadpoolctl import threadpool_limits
88
import sklearn
99
from sklearn.model_selection import train_test_split
10+
# To use this experimental feature, we need to explicitly ask for it:
11+
from sklearn.experimental import enable_hist_gradient_boosting # noqa
1012
from sklearn.ensemble import HistGradientBoostingRegressor
1113
from sklearn.ensemble import HistGradientBoostingClassifier
1214
from sklearn.datasets import make_classification

‎benchmarks/bench_online_ocsvm.py

Copy file name to clipboardExpand all lines: benchmarks/bench_online_ocsvm.py
-279Lines changed: 0 additions & 279 deletions
This file was deleted.

‎conftest.py

Copy file name to clipboardExpand all lines: conftest.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Even if empty this file is useful so that when running from the root folder
22
# ./sklearn is added to sys.path by pytest. See
3-
# https://docs.pytest.org/en/latest/explanation/pythonpath.html for more
4-
# details. For example, this allows to build extensions in place and run pytest
3+
# https://docs.pytest.org/en/latest/pythonpath.html for more details. For
4+
# example, this allows to build extensions in place and run pytest
55
# doc/modules/clustering.rst and use sklearn from the local folder rather than
66
# the one from site-packages.
77

‎doc/about.rst

Copy file name to clipboardExpand all lines: doc/about.rst
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,6 @@ Grisel, Guillaume Lemaitre, Jérémie du Boisberranger and Chiara Marmo.
160160
:width: 70pt
161161
:target: https://www.dataiku.com/
162162

163-
.. |aphp| image:: images/logo_APHP_text.png
164-
:width: 150pt
165-
:target: https://aphp.fr/
166-
167163
.. |inria| image:: images/inria-logo.jpg
168164
:width: 100pt
169165
:target: https://www.inria.fr
@@ -189,8 +185,6 @@ Grisel, Guillaume Lemaitre, Jérémie du Boisberranger and Chiara Marmo.
189185
+---------+----------+
190186
| |dataiku| |
191187
+---------+----------+
192-
| |aphp| |
193-
+---------+----------+
194188
| |
195189
+---------+----------+
196190
| |inria| |

‎doc/conf.py

Copy file name to clipboardExpand all lines: doc/conf.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ def __call__(self, directory):
358358

359359
# enable experimental module so that experimental estimators can be
360360
# discovered properly by sphinx
361+
from sklearn.experimental import enable_hist_gradient_boosting # noqa
361362
from sklearn.experimental import enable_iterative_imputer # noqa
362363
from sklearn.experimental import enable_halving_search_cv # noqa
363364

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.