Skip to content

Commit

Permalink
Fixing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
memoryz committed May 21, 2022
1 parent 446b7a9 commit bcabd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sparkml/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def test_model_pipeline_2_stage(self):
stages = []
for col in cols:
stages.append(StringIndexer(inputCol=col, outputCol=col+'_index', handleInvalid='skip'))
stages.append(OneHotEncoder(inputCols=[col+'_index'], outputCols=[col+'_vec']))
stages.append(OneHotEncoder(inputCols=[col+'_index'], outputCols=[col+'_vec'], dropLast=False))

pipeline = Pipeline(stages=stages)

Expand Down

0 comments on commit bcabd14

Please sign in to comment.