Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1240

Randomized testing and Serialization of NonZeros

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8
    • Component/s: None
    • Labels:
      None

      Description

      Currently the nonZero iterator does not guarantee nonZero iteration for certain vectors (RASV, SASV) for performance reason. However vector view iterator adds a zero check.. To be correct we have to either remove the check or do correct non zero serialization everywhere. However this means going over the vectors in two passes. Given that is pretty fast already, I am fixing the logic bug. We can tackle the speed up for the next release.

      This also adds a randomized test for serialization that catches all such bugs.

        Attachments

        1. MAHOUT-1240.patch
          7 kB
          Robin Anil

          Activity

            People

            • Assignee:
              robinanil Robin Anil
              Reporter:
              robinanil Robin Anil
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: