zhengruifeng commented on issue #26882: [SPARK-30247][PySpark] GaussianMixtureModel in py side should expose gaussian URL: https://github.com/apache/spark/pull/26882#issuecomment-566404111 Sorry for the late reply. It seems we need to add a corresponding class `MultivariateGaussian` containing a vector and a matrix in the py side, otherwise the `gaussian` can not be used in the py side. ```python In [8]: model.gaussians Out[8]: [{'__class__': 'org.apache.spark.ml.stat.distribution.MultivariateGaussian'}, {'__class__': 'org.apache.spark.ml.stat.distribution.MultivariateGaussian'}, {'__class__': 'org.apache.spark.ml.stat.distribution.MultivariateGaussian'}] ```
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org