huaxingao opened a new pull request #28553:
URL: https://github.com/apache/spark/pull/28553


   ### What changes were proposed in this pull request?
   Add weight support in ClusteringEvaluator
   
   
   ### Why are the changes needed?
   Currently, BinaryClassificationEvaluator, RegressionEvaluator, and 
MulticlassClassificationEvaluator support instance weight, but 
ClusteringEvaluator doesn't, so we will add instance weight support in 
ClusteringEvaluator.
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes.
   ClusteringEvaluator.setWeightCol
   
   
   ### How was this patch tested?
   add new unit test
   


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



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

Reply via email to