Skip to content

Commit 5f0b9de

Browse files
authored
Update Supervised.py
Fix issue #441 / #442 deprecated keyword sparse changed to sparse_output
1 parent aad245d commit 5f0b9de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lazypredict/Supervised.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
categorical_transformer_low = Pipeline(
9696
steps=[
9797
("imputer", SimpleImputer(strategy="constant", fill_value="missing")),
98-
("encoding", OneHotEncoder(handle_unknown="ignore", sparse=False)),
98+
("encoding", OneHotEncoder(handle_unknown="ignore", sparse_output=False)),
9999
]
100100
)
101101

0 commit comments

Comments
 (0)