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

[jira] [Resolved] (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 ]

Xiangrui Meng resolved SPARK-13295.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 11179
[https://github.com/apache/spark/pull/11179]

> 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
>             Fix For: 2.0.0
>
>
> 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