You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Narine Kokhlikyan (JIRA)" <ji...@apache.org> on 2016/02/12 06:14:18 UTC

[jira] [Updated] (SPARK-13295) ML/MLLIB: AFTSurvivalRegression: Improve AFTAggregator - Avoid creating new instances of arrays/vectors for each record

     [ https://issues.apache.org/jira/browse/SPARK-13295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Narine Kokhlikyan updated SPARK-13295:
--------------------------------------
    Description: 
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 which 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.



  was:
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 whith 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.




> 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 which 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org