GitHub user keypointt opened a pull request:

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

    [SPARK-13019][Docs] Replace example code in mllib-statistics.md using 
include_example

    https://issues.apache.org/jira/browse/SPARK-13019
    
    Hi, here I have two doubts for this PR:
    
    1. should I include "print" code or "SparkContext" code into example? I 
found it's not  consistent in current code
    2. the initialization of RDDs, I'm using some very primitive and simple 
ones (eg: `val seriesX: RDD[Double] = sc.parallelize(Array(1, 2, 3, 3, 5))` ), 
and not sure I'm doing it right 
    
    Thanks for reviewing :smile: 

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

    $ git pull https://github.com/keypointt/spark SPARK-13019

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

    https://github.com/apache/spark/pull/11108.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 #11108
    
----
commit 49b7012e7b67d3fc7db031d0604d76d4150034eb
Author: Xin Ren <[email protected]>
Date:   2016-02-02T01:51:25Z

    [SPARK-13019] raplce for summary staticstics, scala code

commit 83592bcafa553bf9439da7db72552868b3ed967a
Author: Xin Ren <[email protected]>
Date:   2016-02-02T05:01:20Z

    [SPARK-13019] test out on/off, for import part

commit 069341b3d22c147fcf84e338e9b1b7d1f9fdae8e
Author: Xin Ren <[email protected]>
Date:   2016-02-03T01:33:33Z

    [SPARK-13019] create separate example files, but cannot compile yet

commit 2058b16bc3c097b204bb6c94226e1a8f85017679
Author: Xin Ren <[email protected]>
Date:   2016-02-03T23:25:59Z

    [SPARK-13019] move new files into mllib folder

commit b3285423a625812f64968767b8063ca83ab58f3c
Author: Xin Ren <[email protected]>
Date:   2016-02-03T23:29:04Z

    [SPARK-13019] remote python init files

commit 12fda2be3033fb0477951c276366215ed2ed2736
Author: Xin Ren <[email protected]>
Date:   2016-02-03T23:39:48Z

    [SPARK-13019] comment broken code to pass complie process

commit 2abfaa93b9dee4a86d304a54f59143a5fa0ee401
Author: Xin Ren <[email protected]>
Date:   2016-02-04T01:18:33Z

    [SPARK-13019] remove code block tag

commit 157da53ca1c6ceb13eb720e968d2e09fed44571d
Author: Xin Ren <[email protected]>
Date:   2016-02-04T01:26:36Z

    [SPARK-13019] make commented code explicit in html content

commit 323304fe2aa3033a88429cf3a0e5adef345d2c24
Author: Xin Ren <[email protected]>
Date:   2016-02-04T22:55:51Z

    [SPARK-13019] Stratified Sampling working

commit 3692d30bfec83e53883a017339d08cfaf3223266
Author: Xin Ren <[email protected]>
Date:   2016-02-05T01:14:01Z

    [SPARK-13019] hypothesis testing working

commit 89c3d2ed7d0134d27ecd5c2077e45c12e1702552
Author: Xin Ren <[email protected]>
Date:   2016-02-05T01:33:25Z

    [SPARK-13019] Hypothesis Testing Kolmogorov Smirnov Test Example is working

commit 4dbbc6d32ed3c045e5b947df77f11195adb1255f
Author: Xin Ren <[email protected]>
Date:   2016-02-05T01:37:43Z

    [SPARK-13019] remove empty lines

commit f024fc3c5a6021f2d320c72f9ded78adc3347fbb
Author: Xin Ren <[email protected]>
Date:   2016-02-05T02:03:26Z

    [SPARK-13019] random data generation example working

commit 6f949cde4f18829b2a1c7f946373fc008f4a5bb1
Author: Xin Ren <[email protected]>
Date:   2016-02-07T03:19:47Z

    [SPARK-13019] Kernel Density Estimation Example is working

commit a4dd0fb5781dbdc162fd8652001b8de09b225297
Author: Xin Ren <[email protected]>
Date:   2016-02-07T07:16:33Z

    [SPARK-13019] code style check

----


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