Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/13403
  
    What about just adding an explicit note on old `StatCounter.stdev`?
    
    
http://spark.apache.org/docs/2.0.0-preview/api/scala/index.html#org.apache.spark.util.StatCounter
    
    MLLIB `stat.Statistics` is also consistent with `Dataset`. 
    ```
    scala> import org.apache.spark.mllib.linalg.Vectors
    scala> import org.apache.spark.mllib.stat.{MultivariateStatisticalSummary, 
Statistics}
    scala> 
Statistics.colStats(sc.parallelize(Seq(Vectors.dense(1.0),Vectors.dense(2.0),Vectors.dense(3.0)))).variance
    res10: org.apache.spark.mllib.linalg.Vector = [1.0]
    ```


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to