[
https://issues.apache.org/jira/browse/SPARK-19759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16242359#comment-16242359
]
Apache Spark commented on SPARK-19759:
--------------------------------------
User 'mgaido91' has created a pull request for this issue:
https://github.com/apache/spark/pull/19685
> ALSModel.predict on Dataframes : potential optimization by not using blas
> --------------------------------------------------------------------------
>
> Key: SPARK-19759
> URL: https://issues.apache.org/jira/browse/SPARK-19759
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 2.1.1
> Reporter: Sue Ann Hong
> Priority: Minor
>
> In the DataFrame ALS prediction function, we use blas.sdot which may be
> slower due to the conversion to Arrays. We can try operating on Seqs or
> another data structure to see if avoiding the conversion makes the operation
> faster. Ref:
> https://github.com/apache/spark/pull/17090/files/707bc6b153a7f899fbf3fe2a5675cacba1f95711#diff-be65dd1d6adc53138156641b610fcada
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]