Skip to content

Commit 5a75375

Browse files
authored
sparse to sparse_output parameter change
1 parent 8d1dff0 commit 5a75375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/protodash/test_PDASH.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_ProtoDashExplainer(self):
3333
original = original[:, 1:]
3434

3535
# one hot encoding of all columns/features
36-
onehot_encoder = OneHotEncoder(sparse=False)
36+
onehot_encoder = OneHotEncoder(sparse_output=False)
3737
onehot_encoded = onehot_encoder.fit_transform(original)
3838

3939
print(onehot_encoded.shape, original.shape)

0 commit comments

Comments
 (0)