Description
Duplicated code that I found in scala/examples/ml:
- scala/ml
- CrossValidatorExample.scala --> ModelSelectionViaCrossValidationExample
- 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
- Intend to reserve with command-line support:
- DecisionTreeExample.scala --> DecisionTreeRegressionExample, DecisionTreeClassificationExample
- GBTExample.scala --> GradientBoostedTreeClassifierExample, GradientBoostedTreeRegressorExample
- LinearRegressionExample.scala --> LinearRegressionWithElasticNetExample
- LogisticRegressionExample.scala --> LogisticRegressionWithElasticNetExample, LogisticRegressionSummaryExample
- RandomForestExample.scala --> RandomForestRegressorExample, RandomForestClassifierExample
When merging and cleaning those code, be sure not disturb the previous example on and off blocks.
I'll take this one as an example.
Attachments
Issue Links
- is cloned by
-
SPARK-14300 Scala MLlib examples code merge and clean up
- Resolved
- links to