You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2016/01/04 21:58:40 UTC

[jira] [Updated] (SPARK-7924) Consolidate example code in MLlib

     [ https://issues.apache.org/jira/browse/SPARK-7924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph K. Bradley updated SPARK-7924:
-------------------------------------
    Description: 
This JIRA is an umbrella for consolidating example code in MLlib, now that we are able to insert code snippets from examples into the user guide.

Goal: Have all example code in the {{examples/}} folder, and insert code snippets for examples into the user guide.  This will make the example code easily testable and reduce duplication.

We will have 1 subtask per example.  If you would like to help, please either create a subtask or comment below asking us to create a subtask for you.

For an example to follow, look at:
* [https://github.com/apache/spark/blob/0171b71e9511cef512e96a759e407207037f3c49/examples/src/main/scala/org/apache/spark/examples/ml/TfIdfExample.scala]
* TF-IDF example in [https://raw.githubusercontent.com/apache/spark/0171b71e9511cef512e96a759e407207037f3c49/docs/ml-features.md]

  was:
There are several places for example code in MLlib:

1. Scala/Java/Python API doc
2. User guide
3. examples/

Their content overlaps, and it becomes harder and harder to keep them in sync as the project grow. So it would be nice if we can consolidate them. The plan is to move all code snippets to the API doc, put links in the user guide, and then only keep application templates under examples/.


> Consolidate example code in MLlib
> ---------------------------------
>
>                 Key: SPARK-7924
>                 URL: https://issues.apache.org/jira/browse/SPARK-7924
>             Project: Spark
>          Issue Type: Task
>          Components: Documentation, MLlib
>    Affects Versions: 1.4.0
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>
> This JIRA is an umbrella for consolidating example code in MLlib, now that we are able to insert code snippets from examples into the user guide.
> Goal: Have all example code in the {{examples/}} folder, and insert code snippets for examples into the user guide.  This will make the example code easily testable and reduce duplication.
> We will have 1 subtask per example.  If you would like to help, please either create a subtask or comment below asking us to create a subtask for you.
> For an example to follow, look at:
> * [https://github.com/apache/spark/blob/0171b71e9511cef512e96a759e407207037f3c49/examples/src/main/scala/org/apache/spark/examples/ml/TfIdfExample.scala]
> * TF-IDF example in [https://raw.githubusercontent.com/apache/spark/0171b71e9511cef512e96a759e407207037f3c49/docs/ml-features.md]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org