mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " (Commented) (JIRA)" <>
Subject [jira] [Commented] (MAHOUT-880) Add some matrix method(like addition, subtraction, norm ... etc) to DistributedRowMatrix
Date Thu, 01 Dec 2011 08:41:42 GMT

] commented on MAHOUT-880:

This is an automatically generated e-mail. To reply, visit:

(Updated 2011-12-01 08:39:37.868935)

Review request for Ted Dunning, Jake Mannix and Sebastian Schelter.


A fair bit of refactoring. Added plus() and minus() methods for Matrix-Matrix and Matrix-Vector
combinations. Renamed MatrixCovarianceJob() to TimesSelfJob() to improve clarity per Sebastian's
suggestion. Moved vector argument to distributed cache and changed class to Vector per Jake's
suggestion. Removed for now.


Jobs for matrix-vector addition, covariance matrix calculation and row average calculation
in DistributedRowMatrix

This addresses bug MAHOUT-880.

Diffs (updated)

  trunk/core/src/main/java/org/apache/mahout/math/hadoop/ 1206431

  trunk/core/src/main/java/org/apache/mahout/math/hadoop/ PRE-CREATION

  trunk/core/src/main/java/org/apache/mahout/math/hadoop/ PRE-CREATION

  trunk/core/src/main/java/org/apache/mahout/math/hadoop/ PRE-CREATION 
  trunk/core/src/test/java/org/apache/mahout/math/hadoop/ 1206431



Junit tests for each job



> Add some matrix method(like addition, subtraction, norm ... etc) to DistributedRowMatrix
> ----------------------------------------------------------------------------------------
>                 Key: MAHOUT-880
>                 URL:
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Math
>    Affects Versions: 0.6
>            Reporter: Wangda Tan
>            Priority: Minor
>              Labels: DistributedRowMatrix
>         Attachments: MAHOUT-880.patch
> I'm a new to Mahout, I didn't find some basic matrix functions. This make users cannot
do many tasks by CLI or API, if user get some result through existing map-reduce matrix operation
(like svd), he cannot do farther steps. I make a list for it:
> 1) Addition, Subtraction 
> 2) Norm (like norm-1, norm-2, norm-frobenius)
> 3) Matrix compare
> 4) Get lower triangle, upper triangle and diagonal
> 5) Get identity and zero matrix
> 6) Put two or matrix to together: A = [A1, A2]
> 7) More linear equations solver method, like Gaussian elimination (maybe it's hard to
> 8) import and export CSV, ARFF ... (this will very useful when user want to reuse result
from or to other applications like MATLAB)
> I want to know is there any plan to do this, if so, I can make some efforts to implement

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message