aboutsummaryrefslogtreecommitdiff
path: root/mllib/src/test/scala
diff options
context:
space:
mode:
authorXin Ren <iamshrek@126.com>2016-03-24 14:25:10 -0700
committerXiangrui Meng <meng@databricks.com>2016-03-24 14:25:10 -0700
commitd283223a5a75c53970e72a1016e0b237856b5ea1 (patch)
treea9e657985580ab63c900abfbe757602de7a59584 /mllib/src/test/scala
parent342079dc45425309798d6082cccef86858f08a77 (diff)
downloadspark-d283223a5a75c53970e72a1016e0b237856b5ea1.tar.gz
spark-d283223a5a75c53970e72a1016e0b237856b5ea1.tar.bz2
spark-d283223a5a75c53970e72a1016e0b237856b5ea1.zip
[SPARK-13017][DOCS] Replace example code in mllib-feature-extraction.md using include_example
Replace example code in mllib-feature-extraction.md using include_example https://issues.apache.org/jira/browse/SPARK-13017 The example code in the user guide is embedded in the markdown and hence it is not easy to test. It would be nice to automatically test them. This JIRA is to discuss options to automate example code testing and see what we can do in Spark 1.6. Goal is to move actual example code to spark/examples and test compilation in Jenkins builds. Then in the markdown, we can reference part of the code to show in the user guide. This requires adding a Jekyll tag that is similar to https://github.com/jekyll/jekyll/blob/master/lib/jekyll/tags/include.rb, e.g., called include_example. `{% include_example scala/org/apache/spark/examples/mllib/TFIDFExample.scala %}` Jekyll will find `examples/src/main/scala/org/apache/spark/examples/mllib/TFIDFExample.scala` and pick code blocks marked "example" and replace code block in `{% highlight %}` in the markdown. See more sub-tasks in parent ticket: https://issues.apache.org/jira/browse/SPARK-11337 Author: Xin Ren <iamshrek@126.com> Closes #11142 from keypointt/SPARK-13017.
Diffstat (limited to 'mllib/src/test/scala')
0 files changed, 0 insertions, 0 deletions