Skip to content

Commit

Permalink
tests v1
Browse files Browse the repository at this point in the history
  • Loading branch information
ombhojane committed Sep 12, 2024
1 parent cf50d52 commit 902d3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explainableai/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _preprocess_data(self):

categorical_transformer = Pipeline(steps=[
('imputer', SimpleImputer(strategy='constant', fill_value='missing')),
('onehot', OneHotEncoder(handle_unknown='ignore', sparse=False))
('onehot', OneHotEncoder(handle_unknown='ignore', sparse_output=False))
])

self.preprocessor = ColumnTransformer(
Expand Down

0 comments on commit 902d3f9

Please sign in to comment.