zhengruifeng opened a new pull request #25940: [SPARK-29258][ML][PYSPARK] 
parity between ml.evaluator and mllib.metrics
URL: https://github.com/apache/spark/pull/25940
 
 
   ### What changes were proposed in this pull request?
   1, expose `BinaryClassificationMetrics.numBins` in 
`BinaryClassificationEvaluator`
   2, expose `RegressionMetrics.throughOrigin` in `RegressionEvaluator`
   3, add metric `explainedVariance` in `RegressionEvaluator`
   
   ### Why are the changes needed?
   existing function in mllib.metrics should also be exposed in ml
   
   ### Does this PR introduce any user-facing change?
   yes, this PR add two expert params and one metric option
   
   ### How was this patch tested?
   existing and added tests
   

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