Commit 58dfba6
committed
[SPARK-14665][ML][PYTHON] Fixed bug with StopWordsRemover default stopwords
The default stopwords were a Java object. They are no longer.
Unit test which failed before the fix
Author: Joseph K. Bradley <[email protected]>
Closes #12422 from jkbradley/pyspark-stopwords.
(cherry picked from commit d6ae7d4)
Signed-off-by: Joseph K. Bradley <[email protected]>
Conflicts:
python/pyspark/ml/feature.py
python/pyspark/ml/tests.py1 parent 93c9a63 commit 58dfba6
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1402 | 1402 | | |
1403 | 1403 | | |
1404 | 1404 | | |
1405 | | - | |
| 1405 | + | |
1406 | 1406 | | |
1407 | 1407 | | |
1408 | 1408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
283 | 286 | | |
284 | 287 | | |
285 | 288 | | |
| 289 | + | |
| 290 | + | |
286 | 291 | | |
287 | 292 | | |
288 | 293 | | |
| |||
0 commit comments