Skip to content

Commit 5fac6f0

Browse files
author
SebastienMelo
committed
fixed format
1 parent c2741a9 commit 5fac6f0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

python_scripts/03_categorical_pipeline_sol_02.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@
9292
from sklearn.preprocessing import StandardScaler
9393

9494
preprocessor = make_column_transformer(
95-
(StandardScaler(), numerical_columns),
96-
(
97-
OrdinalEncoder(
98-
handle_unknown="use_encoded_value", unknown_value=-1
99-
),
100-
categorical_columns,
95+
(StandardScaler(), numerical_columns),
96+
(
97+
OrdinalEncoder(
98+
handle_unknown="use_encoded_value", unknown_value=-1
10199
),
100+
categorical_columns,
101+
),
102102
)
103103

104104
model = make_pipeline(preprocessor, HistGradientBoostingClassifier())

0 commit comments

Comments
 (0)