[ 
https://issues.apache.org/jira/browse/MAHOUT-6?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571972#action_12571972
 ] 

Ted Dunning commented on MAHOUT-6:
----------------------------------


Regarding Paul's comments about interfaces versus abstract classes, I prefer to 
use interfaces here, but provide abstract classes that most people will inherit 
from.  

In that case, updates to the interface come (mostly) in two flavors:

a) convenience updates that can easily be implemented in the abstract classes.  
Very few implementors will be hurt here because they won't even notice that 
their classes suddenly have new functionality.

b) substantial and important functionality that was overlooked at first. 
Changing the interface has the desired effect of forcing implementors to 
support this functionality.  If the functionality isn't required of all 
implementations, then it can be declared in the abstract with gives the desired 
effect. 

> Need a matrix implementation
> ----------------------------
>
>                 Key: MAHOUT-6
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-6
>             Project: Mahout
>          Issue Type: New Feature
>            Reporter: Ted Dunning
>         Attachments: MAHOUT-6a.diff, MAHOUT-6b.diff
>
>
> We need matrices for Mahout.
> An initial set of basic requirements includes:
> a) sparse and dense support are required
> b) row and column labels are important
> c) serialization for hadoop use is required
> d) reasonable floating point performance is required, but awesome FP is not
> e) the API should be simple enough to understand
> f) it should be easy to carve out sub-matrices for sending to different 
> reducers
> g) a reasonable set of matrix operations should be supported, these should 
> eventually include:
>     simple matrix-matrix and matrix-vector and matrix-scalar linear algebra 
> operations, A B, A + B, A v, A + x, v + x, u + v, dot(u, v)
>     row and column sums  
>     generalized level 2 and 3 BLAS primitives, alpha A B + beta C and A u + 
> beta v
> h) easy and efficient iteration constructs, especially for sparse matrices
> i) easy to extend with new implementations

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to