GitHub user yongtang opened a pull request:

    https://github.com/apache/spark/pull/12143

    [SPARK-14301][Examples] Java examples code merge and clean up.

    ## What changes were proposed in this pull request?
    
    This fix tries to remove duplicate Java code in examples/mllib and 
examples/ml. The following changes have been made:
    
    ```
    deleted: ml/JavaCrossValidatorExample.java (duplicate of 
JavaModelSelectionViaCrossValidationExample.java)
    deleted: ml/JavaTrainValidationSplitExample.java (duplicated of 
JavaModelSelectionViaTrainValidationSplitExample.java)
    deleted: ml/JavaSimpleTextClassificationPipeline.java (duplicate of 
JavaModelSelectionViaCrossValidationExample.java)
    deleted: ml/JavaDeveloperApiExample.java (conform to changes in 
scala/DeveloperApiExample.scala)
    deleted: mllib/JavaFPGrowthExample.java (duplicate of 
JavaSimpleFPGrowth.java)
    deleted: mllib/JavaLDAExample.java (duplicate of 
JavaLatentDirichletAllocationExample.java)
    deleted: mllib/JavaKMeans.java (merged with JavaKMeansExample.java)
    deleted: mllib/JavaLR.java (duplicate of 
JavaLinearRegressionWithSGDExample.java)
    updated: mllib/JavaKMeansExample.java (merged with mllib/JavaKMeans.java)
    ```
    
    ## How was this patch tested?
    Existing tests passed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yongtang/spark SPARK-14301

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/12143.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #12143
    
----
commit 1fec5e4d0adb7fd4a5c1f36a967a02dcdb1cd6e5
Author: Yong Tang <[email protected]>
Date:   2016-04-03T03:35:31Z

    [SPARK-14301][Examples] Java examples code merge and clean up.
    
    This fix tries to remove duplicate Java code in examples/mllib and
    examples/ml. The following changes have been made:
    
    deleted: ml/JavaCrossValidatorExample.java 
(->JavaModelSelectionViaCrossValidationExample.java)
    deleted: ml/JavaTrainValidationSplitExample.java (-> 
JavaModelSelectionViaTrainValidationSplitExample.java)
    deleted: ml/JavaSimpleTextClassificationPipeline.java (-> 
JavaModelSelectionViaCrossValidationExample.java)
    deleted: ml/JavaDeveloperApiExample.java (conform to changes in 
scala/DeveloperApiExample.scala)
    deleted: mllib/JavaFPGrowthExample.java (-> JavaSimpleFPGrowth.java)
    deleted: mllib/JavaLDAExample.java (-> 
JavaLatentDirichletAllocationExample.java)
    deleted: mllib/JavaKMeans.java (merged with JavaKMeansExample.java)
    deleted: mllib/JavaLR.java (-> JavaLinearRegressionWithSGDExample.java)
    updated: mllib/JavaKMeansExample.java (merged with mllib/JavaKMeans.java)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to