[ https://issues.apache.org/jira/browse/SPARK-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiangrui Meng updated SPARK-3770: --------------------------------- Assignee: Michelangelo D'Agostino > 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 > Assignee: 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org