zhengruifeng created SPARK-30109:

             Summary: PCA use BLAS.gemv with sparse vector
                 Key: SPARK-30109
                 URL: https://issues.apache.org/jira/browse/SPARK-30109
             Project: Spark
          Issue Type: Improvement
          Components: ML
    Affects Versions: 3.0.0
            Reporter: zhengruifeng

When PCA was first impled in 
[SPARK-5521|https://issues.apache.org/jira/browse/SPARK-5521], at that time 
Matrix.multiply(BLAS.gemv internally) did not support sparse vector. So it 
worked around it by applying a complex matrix multiplication.

Since [SPARK-7681|https://issues.apache.org/jira/browse/SPARK-7681], BLAS.gemv 
supported sparse vector. So we can directly use Matrix.multiply now.

This message was sent by Atlassian Jira

To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to