spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Girdhar <rohit.ii...@gmail.com>
Subject Retrieving the PCA parameters in pyspark
Date Wed, 02 Dec 2015 05:49:12 GMT
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

Mime
View raw message