Mahout
  1. Mahout
  2. MAHOUT-73

addPoint, computeCentroid can be optimized by using vector operators

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Clustering
    • Labels:
      None
    1. MAHOUT-73.patch
      2 kB
      Pallavi Palleti

      Issue Links

        Activity

        Hide
        Grant Ingersoll added a comment -

        Will fix in MAHOUT-139

        Show
        Grant Ingersoll added a comment - Will fix in MAHOUT-139
        Hide
        Allen Day added a comment -

        I also addressed this in MAHOUT-77.

        Show
        Allen Day added a comment - I also addressed this in MAHOUT-77 .
        Hide
        Pallavi Palleti added a comment -

        I have cloned this inorder to start this issue afresh.

        Show
        Pallavi Palleti added a comment - I have cloned this inorder to start this issue afresh.
        Hide
        Ted Dunning added a comment -


        Why was mahout-68 cloned to produce this issue? It seems like the same thing.

        Show
        Ted Dunning added a comment - Why was mahout-68 cloned to produce this issue? It seems like the same thing.
        Hide
        Pallavi Palleti added a comment -

        We can use Vector operators in addPoint and computeCentroid methods of Canopy class. There by, this can be optimized for Sparse vector.Also, by using vector operators, we are hiding the implementation details and reusing the existing code in Sparse Vector, Dense Vector classes.

        Show
        Pallavi Palleti added a comment - We can use Vector operators in addPoint and computeCentroid methods of Canopy class. There by, this can be optimized for Sparse vector.Also, by using vector operators, we are hiding the implementation details and reusing the existing code in Sparse Vector, Dense Vector classes.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development