mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Schelter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAHOUT-1580) Optimize getNumNonZeroElements
Date Fri, 13 Jun 2014 12:32:02 GMT
Sebastian Schelter created MAHOUT-1580:
------------------------------------------

             Summary: Optimize getNumNonZeroElements
                 Key: MAHOUT-1580
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1580
             Project: Mahout
          Issue Type: Improvement
          Components: Math
            Reporter: Sebastian Schelter
            Assignee: Sebastian Schelter
             Fix For: 1.0


getNumNonZeroElements in AbstractVector uses the nonZeroes -iterator internally which adds
a lot of overhead for certain types of vectors, e.g. the dense ones. We should add custom
implementations here.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message