Skip to content

Commit

Permalink
fix new name for sparse arguement
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
  • Loading branch information
xadupre committed Jan 23, 2024
1 parent 31ae566 commit d4abb57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/xgboost/test_xgboost_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def transformer_for_column(column):
if column.dtype in ["bool"]:
return "passthrough"
if column.dtype in ["O"]:
return OneHotEncoder(sparse=False)
return OneHotEncoder(sparse_output=False)
raise ValueError()

return ColumnTransformer(
Expand Down

0 comments on commit d4abb57

Please sign in to comment.