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

in-core functional assignments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.2
    • None
    • None

    Description

      in-core functional assignments (for vector and matrices)

      mxA :=

      { (x) => x * x}


      mxA :=

      { (row, col, x} => ... }
      mxA ::={ (x) => ... }
      mxA ::={ (row, col, x}

      => ...}
      vec :=

      { (x) => ...}
      vec :={ (idx, x) => ..}
      vec ::= { (x) => ...}

      vec ::=

      { (ind, x) => ...}

      the `:=` assignmentn applies the function to all elements of tensor.
      the `::=` assignment ignores zero elements of the tensor to improve performance.

      matrix functions iterations use matrix structural flavor to optimize traversal.

      further examples.

      mxA := exp _ (in-place exponent)

      v ::= abs _

      PR https://github.com/apache/mahout/pull/135

      Attachments

        Activity

          People

            dlyubimov Dmitriy Lyubimov
            dlyubimov Dmitriy Lyubimov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: