-
- Downloads
[SPARK-11728] Replace example code in ml-ensembles.md using include_example
JIRA issue https://issues.apache.org/jira/browse/SPARK-11728. The ml-ensembles.md file contains `OneVsRestExample`. Instead of writing new code files of two `OneVsRestExample`s, I use two existing files in the examples directory, they are `OneVsRestExample.scala` and `JavaOneVsRestExample.scala`. Author: Xusen Yin <yinxusen@gmail.com> Closes #9716 from yinxusen/SPARK-11728.
Showing
- docs/ml-ensembles.md 14 additions, 740 deletionsdocs/ml-ensembles.md
- examples/src/main/java/org/apache/spark/examples/ml/JavaGradientBoostedTreeClassifierExample.java 102 additions, 0 deletions...examples/ml/JavaGradientBoostedTreeClassifierExample.java
- examples/src/main/java/org/apache/spark/examples/ml/JavaGradientBoostedTreeRegressorExample.java 90 additions, 0 deletions.../examples/ml/JavaGradientBoostedTreeRegressorExample.java
- examples/src/main/java/org/apache/spark/examples/ml/JavaOneVsRestExample.java 4 additions, 0 deletions...va/org/apache/spark/examples/ml/JavaOneVsRestExample.java
- examples/src/main/java/org/apache/spark/examples/ml/JavaRandomForestClassifierExample.java 101 additions, 0 deletions.../spark/examples/ml/JavaRandomForestClassifierExample.java
- examples/src/main/java/org/apache/spark/examples/ml/JavaRandomForestRegressorExample.java 90 additions, 0 deletions...e/spark/examples/ml/JavaRandomForestRegressorExample.java
- examples/src/main/python/ml/gradient_boosted_tree_classifier_example.py 77 additions, 0 deletions...ain/python/ml/gradient_boosted_tree_classifier_example.py
- examples/src/main/python/ml/gradient_boosted_tree_regressor_example.py 74 additions, 0 deletions...main/python/ml/gradient_boosted_tree_regressor_example.py
- examples/src/main/python/ml/random_forest_classifier_example.py 77 additions, 0 deletions...es/src/main/python/ml/random_forest_classifier_example.py
- examples/src/main/python/ml/random_forest_regressor_example.py 74 additions, 0 deletions...les/src/main/python/ml/random_forest_regressor_example.py
- examples/src/main/scala/org/apache/spark/examples/ml/GradientBoostedTreeClassifierExample.scala 97 additions, 0 deletions...rk/examples/ml/GradientBoostedTreeClassifierExample.scala
- examples/src/main/scala/org/apache/spark/examples/ml/GradientBoostedTreeRegressorExample.scala 85 additions, 0 deletions...ark/examples/ml/GradientBoostedTreeRegressorExample.scala
- examples/src/main/scala/org/apache/spark/examples/ml/OneVsRestExample.scala 4 additions, 0 deletions...scala/org/apache/spark/examples/ml/OneVsRestExample.scala
- examples/src/main/scala/org/apache/spark/examples/ml/RandomForestClassifierExample.scala 97 additions, 0 deletions...che/spark/examples/ml/RandomForestClassifierExample.scala
- examples/src/main/scala/org/apache/spark/examples/ml/RandomForestRegressorExample.scala 84 additions, 0 deletions...ache/spark/examples/ml/RandomForestRegressorExample.scala
Please register or sign in to comment