Skip to content

Commit 8532425

Browse files
ogriselArturoAmorQ
andcommitted
[ci skip] Feature branch to update to 1.6 (#813)
* Feature branch to update to 1.6 * MNT Fix several FutureWarnings (#810) * MTN Wrap up quiz sklearn 1.6 verification (#817) * MAINT Use class_of_interest in DecisionBoundaryDisplay (#772) * Resync everything --------- Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com> Co-authored-by: SebastienMelo <125986598+SebastienMelo@users.noreply.github.com> c9728c8
1 parent 9b1811d commit 8532425

43 files changed

Lines changed: 383 additions & 555 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 KB
Loading
Binary file not shown.

_sources/python_scripts/01_tabular_data_exploration_ex_01.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.1
99
# kernelspec:
1010
# display_name: Python 3
1111
# name: python3

_sources/python_scripts/02_numerical_pipeline_ex_00.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.1
99
# kernelspec:
1010
# display_name: Python 3
1111
# name: python3

_sources/python_scripts/02_numerical_pipeline_ex_01.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.1
99
# kernelspec:
1010
# display_name: Python 3
1111
# name: python3

_sources/python_scripts/03_categorical_pipeline_ex_01.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.1
99
# kernelspec:
1010
# display_name: Python 3
1111
# name: python3

_sources/python_scripts/03_categorical_pipeline_ex_02.py

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.1
99
# kernelspec:
1010
# display_name: Python 3
1111
# name: python3
@@ -112,26 +112,7 @@
112112
# Write your code here.
113113

114114
# %% [markdown]
115-
# ### Analysis
116-
#
117-
# From an accuracy point of view, the result is almost exactly the same. The
118-
# reason is that `HistGradientBoostingClassifier` is expressive and robust
119-
# enough to deal with misleading ordering of integer coded categories (which was
120-
# not the case for linear models).
121-
#
122-
# However from a computation point of view, the training time is much longer:
123-
# this is caused by the fact that `OneHotEncoder` generates more features than
124-
# `OrdinalEncoder`; for each unique categorical value a column is created.
125-
#
126-
# Note that the current implementation `HistGradientBoostingClassifier` is still
127-
# incomplete, and once sparse representation are handled correctly, training
128-
# time might improve with such kinds of encodings.
129-
#
130-
# The main take away message is that arbitrary integer coding of categories is
131-
# perfectly fine for `HistGradientBoostingClassifier` and yields fast training
132-
# times.
133-
134-
# Which encoder should I use?
115+
# ## Which encoder should I use?
135116
#
136117
# | | Meaningful order | Non-meaningful order |
137118
# | ---------------- | ----------------------------- | -------------------- |

_sources/python_scripts/cross_validation_ex_01.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.1
99
# kernelspec:
1010
# display_name: Python 3
1111
# name: python3

_sources/python_scripts/cross_validation_ex_02.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# extension: .py
66
# format_name: percent
77
# format_version: '1.3'
8-
# jupytext_version: 1.16.7
8+
# jupytext_version: 1.17.1
99
# kernelspec:
1010
# display_name: Python 3
1111
# name: python3

_sources/python_scripts/datasets_bike_rides.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
# smoother visualization.
156156

157157
# %%
158-
data_ride.resample("60S").mean().plot()
158+
data_ride.resample("60s").mean().plot()
159159
plt.legend(bbox_to_anchor=(1.05, 1), loc="upper left")
160160
_ = plt.title("Sensor values for different cyclist measurements")
161161

0 commit comments

Comments
 (0)