Narine Kokhlikyan created SPARK-13295:
-----------------------------------------

             Summary: ML/MLLIB: AFTSurvivalRegression: Improve AFTAggregator - 
Avoid creating new instances of arrays/vectors for each record
                 Key: SPARK-13295
                 URL: https://issues.apache.org/jira/browse/SPARK-13295
             Project: Spark
          Issue Type: Improvement
          Components: ML, MLlib
            Reporter: Narine Kokhlikyan


As also mentioned/marked by TODO in AFTAggregator.AFTAggregator.add(data: 
AFTPoint) a new array is being created for intercept value and it is being 
concatenated
with another array with contains the betas, the resulted Array is being 
converted into a Dense vector which in it's turn is being converted into breeze 
vector. 
This is expensive and not necessarily beautiful.





--
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

Reply via email to