You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Rohit Girdhar <ro...@gmail.com> on 2015/12/02 06:49:12 UTC
Retrieving the PCA parameters in pyspark
Hi
I'm using PCA through the python interface for spark, as per the
instructions on this page:
https://spark.apache.org/docs/1.5.1/ml-features.html#pca
It works fine for learning the parameters and transforming the data.
However, I'm unable to find a way to retrieve the learnt PCA parameters. I
tried using model.params, but that returns an empty list. Is there some way
to retrieve these parameters (maybe through the py4j interface)?
Thanks
Rohit