[ 
https://issues.apache.org/jira/browse/SPARK-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14157242#comment-14157242
 ] 

Apache Spark commented on SPARK-3770:
-------------------------------------

User 'mdagost' has created a pull request for this issue:
https://github.com/apache/spark/pull/2636

> The userFeatures RDD from MatrixFactorizationModel isn't accessible from the 
> python bindings
> --------------------------------------------------------------------------------------------
>
>                 Key: SPARK-3770
>                 URL: https://issues.apache.org/jira/browse/SPARK-3770
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib, PySpark
>            Reporter: Michelangelo D'Agostino
>
> We need access to the underlying latent user features from python.  However, 
> the userFeatures RDD from the MatrixFactorizationModel isn't accessible from 
> the python bindings.  I've fixed this with a PR that I'll submit shortly that 
> adds a method to the underlying scala class to turn the RDD[(Int, 
> Array[Double])] to an RDD[String].  This is then accessed from the python 
> recommendation.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to