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

Vector improvements

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2
    • Component/s: None
    • Labels:
      None

      Description

      Vector and it's implementations could use a few things:

      1. DenseVector should implement equals and hashCode similar to SparseVector
      2. The VectorView asFormatString() is not compatible with actually recreating any type of vector.
      3. Add tests to VectorTest that assert that decodeFormat/asFormatString is able to do a round trip.
      4. Add static AbstractVector.equivalent(Vector, Vector) that takes in two vectors and compares them for equality, regardless of their implementation.

        Attachments

        1. MAHOUT-131.patch
          8 kB
          Grant Ingersoll
        2. MAHOUT-131.patch
          5 kB
          Grant Ingersoll

          Activity

            People

            • Assignee:
              gsingers Grant Ingersoll
              Reporter:
              gsingers Grant Ingersoll
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: