zhengruifeng commented on pull request #35457:
URL: https://github.com/apache/spark/pull/35457#issuecomment-1046373579


   
![image](https://user-images.githubusercontent.com/7322292/154873090-857a0b9b-43c0-4120-a0a4-2b66bfabe510.png)
   
   @srowen It is used in both training (in the .ml side) and prediction (in the 
.mllib side), the switch is done by just changing the type of `stats` in 
`distanceMeasureInstance.findClosest(centers, stats, point)` from 
`Array[Double]` to `Option[Array[Double]]`


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

To unsubscribe, e-mail: [email protected]

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