[ https://issues.apache.org/jira/browse/SPARK-13295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiangrui Meng updated SPARK-13295: ---------------------------------- Assignee: Narine Kokhlikyan > 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 > Assignee: 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org