Skip to content

Commit

Permalink
sparse to sparse_output parameter change
Browse files Browse the repository at this point in the history
  • Loading branch information
vijay-arya authored Mar 5, 2024
1 parent 8d1dff0 commit 5a75375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/protodash/test_PDASH.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_ProtoDashExplainer(self):
original = original[:, 1:]

# one hot encoding of all columns/features
onehot_encoder = OneHotEncoder(sparse=False)
onehot_encoder = OneHotEncoder(sparse_output=False)
onehot_encoded = onehot_encoder.fit_transform(original)

print(onehot_encoded.shape, original.shape)
Expand Down

0 comments on commit 5a75375

Please sign in to comment.