Uh oh!
There was an error while loading. Please reload this page.
[SPARK-16403][Examples] Cleanup to remove unused imports, consistent style, minor fixes - #14081
[SPARK-16403][Examples] Cleanup to remove unused imports, consistent style, minor fixes#14081BryanCutler wants to merge 12 commits into
Conversation
BryanCutler
commented
Jul 6, 2016
cc @MLnick@yanboliang - either of you mind taking a look? Thanks! |
SparkQA
commented
Jul 7, 2016
Test build #61880 has finished for PR 14081 at commit
|
SparkQA
commented
Jul 7, 2016
Test build #61883 has finished for PR 14081 at commit
|
SparkQA
commented
Jul 7, 2016
Test build #61885 has finished for PR 14081 at commit
|
| spark = SparkSession\ | ||
| .builder\ | ||
| .appName("PythonGuassianMixtureExample")\ | ||
| .appName("GuassianMixtureExample")\ |
SparkQA
commented
Jul 7, 2016
Test build #61918 has finished for PR 14081 at commit
|
SparkQA
commented
Jul 7, 2016
Test build #61922 has finished for PR 14081 at commit
|
srowen
commented
Jul 10, 2016
I'm going to merge this to master only if nobody has further comments. |
BryanCutler
commented
Jul 10, 2016
Thanks for the review Sean!
|
BryanCutler
commented
Jul 11, 2016
I realized that the "PipelineExample"s are included in the docs, while the "SimpleTextClassificationExample"s are not, so it might be better to keep those instead. I just changed the data and regularization value to that of "SimpleTextClassificationExample" which gives correct predictions (it looks like these examples were updated at one time by DB to fix this, but the change was not put into the doc example). |
SparkQA
commented
Jul 11, 2016
Test build #62072 has finished for PR 14081 at commit
|
BryanCutler
commented
Jul 11, 2016
I noticed that in a similar vein, SimpleParamsExample was a duplicate of EstimatorTransformerParamExample in Scala, Java, and Python, and removed those. |
SparkQA
commented
Jul 11, 2016
Test build #62118 has finished for PR 14081 at commit
|
srowen
commented
Jul 12, 2016
Double checking with @jkbradley that the example removals look OK? |
srowen
commented
Jul 14, 2016
Merged to master |
BryanCutler
commented
Jul 14, 2016
Thanks @srowen!
|
What changes were proposed in this pull request?
Cleanup of examples, mostly from PySpark-ML to fix minor issues: unused imports, style consistency, pipeline_example is a duplicate, use future print funciton, and a spelling error.
How was this patch tested?
local tests and run modified examples