Re: Retrieving the PCA parameters in pyspark
Hi Rohit, This is a known bug, but you can get these parameters if you use Scala version. Yanbo 2015-12-03 0:36 GMT+08:00 Rohit Girdhar: > 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 >
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
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