srowen commented on a change in pull request #26596: [SPARK-29959][ML][PYSPARK] 
Summarizer support more metrics
URL: https://github.com/apache/spark/pull/26596#discussion_r348511414
 
 

 ##########
 File path: docs/ml-statistics.md
 ##########
 @@ -109,7 +109,8 @@ Refer to the [`ChiSquareTest` Python 
docs](api/python/index.html#pyspark.ml.stat
 ## Summarizer
 
 We provide vector column summary statistics for `Dataframe` through 
`Summarizer`.
-Available metrics are the column-wise max, min, mean, variance, and number of 
nonzeros, as well as the total count.
+Available metrics are the column-wise max, min, mean, sum, variance, std, 
squared sum, and number of nonzeros,
 
 Review comment:
   I can also see providing stddev instead of variance, but now we'd provide 
both, which is a little redundant, and we don't want to take away variance as 
it would unnecessarily break backwards compatibility. I don't know if the sqrt 
is such a big deal to compute.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to