You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Pallavi Palleti (JIRA)" <ji...@apache.org> on 2008/07/08 11:59:36 UTC

[jira] Updated: (MAHOUT-67) plus method in AbstractVector doesn't work for SparseVectors

     [ https://issues.apache.org/jira/browse/MAHOUT-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pallavi Palleti updated MAHOUT-67:
----------------------------------

    Attachment: MAHOUT-67.patch

I have overridden plus() method in SparseVector. Inorder to do this, I need to add a method called addCardinality().
Also, I found that in dot() method, it shouldn't throw cardinalityException. So, I removed that condition. Please review the code.

Thanks
Pallavi

> plus method in AbstractVector doesn't work for SparseVectors
> ------------------------------------------------------------
>
>                 Key: MAHOUT-67
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-67
>             Project: Mahout
>          Issue Type: Bug
>          Components: Matrix
>            Reporter: Pallavi Palleti
>            Priority: Minor
>         Attachments: MAHOUT-67.patch
>
>


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