[jira] [Commented] (SPARK-33518) Improve performance of ML ALS recommendForAll by GEMV
[ https://issues.apache.org/jira/browse/SPARK-33518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17269177#comment-17269177 ] Apache Spark commented on SPARK-33518: -- User 'zhengruifeng' has created a pull request for this issue: https://github.com/apache/spark/pull/31279 > Improve performance of ML ALS recommendForAll by GEMV > - > > Key: SPARK-33518 > URL: https://issues.apache.org/jira/browse/SPARK-33518 > Project: Spark > Issue Type: Improvement > Components: ML >Affects Versions: 3.1.0 >Reporter: zhengruifeng >Assignee: zhengruifeng >Priority: Major > Fix For: 3.2.0 > > > There were a lot of works on improving ALS's {{recommendForAll}} > For now, I found that it maybe futhermore optimized by > 1, using GEMV; > 2, use guava.ordering instead of BoundedPriorityQueue; > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-33518) Improve performance of ML ALS recommendForAll by GEMV
[ https://issues.apache.org/jira/browse/SPARK-33518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17269176#comment-17269176 ] Apache Spark commented on SPARK-33518: -- User 'zhengruifeng' has created a pull request for this issue: https://github.com/apache/spark/pull/31279 > Improve performance of ML ALS recommendForAll by GEMV > - > > Key: SPARK-33518 > URL: https://issues.apache.org/jira/browse/SPARK-33518 > Project: Spark > Issue Type: Improvement > Components: ML >Affects Versions: 3.1.0 >Reporter: zhengruifeng >Assignee: zhengruifeng >Priority: Major > Fix For: 3.2.0 > > > There were a lot of works on improving ALS's {{recommendForAll}} > For now, I found that it maybe futhermore optimized by > 1, using GEMV; > 2, use guava.ordering instead of BoundedPriorityQueue; > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-33518) Improve performance of ML ALS recommendForAll by GEMV
[ https://issues.apache.org/jira/browse/SPARK-33518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17237280#comment-17237280 ] Apache Spark commented on SPARK-33518: -- User 'zhengruifeng' has created a pull request for this issue: https://github.com/apache/spark/pull/30468 > Improve performance of ML ALS recommendForAll by GEMV > - > > Key: SPARK-33518 > URL: https://issues.apache.org/jira/browse/SPARK-33518 > Project: Spark > Issue Type: Improvement > Components: ML >Affects Versions: 3.2.0 >Reporter: zhengruifeng >Priority: Major > > There were a lot of works on improving ALS's {{recommendForAll}} > For now, I found that it maybe futhermore optimized by > 1, using GEMV; > 2, directly aggregate on topK collections (srcId, Array(dstId), > Array(score)), instead of each element (srcId, (dstId, score)); > 3, use guava.ordering instead of BoundedPriorityQueue; > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-33518) Improve performance of ML ALS recommendForAll by GEMV
[ https://issues.apache.org/jira/browse/SPARK-33518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17237279#comment-17237279 ] Apache Spark commented on SPARK-33518: -- User 'zhengruifeng' has created a pull request for this issue: https://github.com/apache/spark/pull/30468 > Improve performance of ML ALS recommendForAll by GEMV > - > > Key: SPARK-33518 > URL: https://issues.apache.org/jira/browse/SPARK-33518 > Project: Spark > Issue Type: Improvement > Components: ML >Affects Versions: 3.2.0 >Reporter: zhengruifeng >Priority: Major > > There were a lot of works on improving ALS's {{recommendForAll}} > For now, I found that it maybe futhermore optimized by > 1, using GEMV; > 2, directly aggregate on topK collections (srcId, Array(dstId), > Array(score)), instead of each element (srcId, (dstId, score)); > 3, use guava.ordering instead of BoundedPriorityQueue; > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org