GitHub user yinxusen opened a pull request:

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

    remove duplications for scala.examples.ml

    ## What changes were proposed in this pull request?
    
    https://issues.apache.org/jira/browse/SPARK-14299
    
    Delete and merge duplications in scala/examples/ml.
    
    - CrossValidatorExample.scala --> ModelSelectionViaCrossValidationExample
    
    - DecisionTreeExample.scala --> DecisionTreeRegressionExample, 
DecisionTreeClassificationExample
    
    - GBTExample.scala --> GradientBoostedTreeClassifierExample, 
GradientBoostedTreeRegressorExample
    
    - LinearRegressionExample.scala --> LinearRegressionWithElasticNetExample
    
    - LogisticRegressionExample.scala --> 
LogisticRegressionWithElasticNetExample, LogisticRegressionSummaryExample
    
    - RandomForestExample.scala --> RandomForestRegressorExample, 
RandomForestClassifierExample
    
    - TrainValidationSplitExample.scala --> 
ModelSelectionViaTrainValidationSplitExample
    
    - DeveloperApiExample.scala --> I delete it for now because it's only about 
how to create your own classifieri, etc, which can be learned easily from other 
examples and ml codes.
    
    - SimpleParamsExample.scala --> merge with 
LogisticRegressionSummaryExample.scala
    
    - SimpleTextClassificationPipeline.scala --> 
ModelSelectionViaCrossValidationExample
    
    - DataFrameExample.scala --> merge with 
LogisticRegressionSummaryExample.scala
    
    ## How was this patch tested?
    
    Test with `SKIP_API=1 jekyll serve` maually to make sure that works well.
    


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

    $ git pull https://github.com/yinxusen/spark SPARK-14299

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

    https://github.com/apache/spark/pull/12092.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 #12092
    
----
commit 3c72e116b1e42de2bf3803e8b0b733b0ef4a57c7
Author: Xusen Yin <[email protected]>
Date:   2016-03-31T16:05:25Z

    remove duplications for scala.examples.ml

----


---
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