Mahout
  1. Mahout
  2. MAHOUT-744

SparseMatrix should iterate over rows sparsely

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.6
    • Component/s: Math
    • Labels:

      Description

      iterate() ought to iterate over rows that exist only, not every row (that's the job of iterateAll()).

        Activity

        Hide
        Hudson added a comment -

        Integrated in Mahout-Quality #910 (See https://builds.apache.org/job/Mahout-Quality/910/)
        MAHOUT-744 iterate over SparseMatrix rows sparse-ly in iterate()

        srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1140224
        Files :

        • /mahout/trunk/core/src/test/java/org/apache/mahout/math/hadoop/TestDistributedRowMatrix.java
        • /mahout/trunk/math/src/main/java/org/apache/mahout/math/AbstractMatrix.java
        • /mahout/trunk/math/src/main/java/org/apache/mahout/math/SparseMatrix.java
        Show
        Hudson added a comment - Integrated in Mahout-Quality #910 (See https://builds.apache.org/job/Mahout-Quality/910/ ) MAHOUT-744 iterate over SparseMatrix rows sparse-ly in iterate() srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1140224 Files : /mahout/trunk/core/src/test/java/org/apache/mahout/math/hadoop/TestDistributedRowMatrix.java /mahout/trunk/math/src/main/java/org/apache/mahout/math/AbstractMatrix.java /mahout/trunk/math/src/main/java/org/apache/mahout/math/SparseMatrix.java
        Hide
        Sean Owen added a comment -

        (This also cleans up a few other related iterators)

        Show
        Sean Owen added a comment - (This also cleans up a few other related iterators)

          People

          • Assignee:
            Sean Owen
            Reporter:
            Sean Owen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development