We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d1dff0 commit 5a75375Copy full SHA for 5a75375
tests/protodash/test_PDASH.py
@@ -33,7 +33,7 @@ def test_ProtoDashExplainer(self):
33
original = original[:, 1:]
34
35
# one hot encoding of all columns/features
36
- onehot_encoder = OneHotEncoder(sparse=False)
+ onehot_encoder = OneHotEncoder(sparse_output=False)
37
onehot_encoded = onehot_encoder.fit_transform(original)
38
39
print(onehot_encoded.shape, original.shape)
0 commit comments