You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Ted Dunning (JIRA)" <ji...@apache.org> on 2008/04/02 00:11:24 UTC

[jira] Created: (MAHOUT-23) Getting a row or column from a matrix view gives a row or column from the wrapped matrix.

Getting a row or column from a matrix view gives a row or column from the wrapped matrix.
-----------------------------------------------------------------------------------------

                 Key: MAHOUT-23
                 URL: https://issues.apache.org/jira/browse/MAHOUT-23
             Project: Mahout
          Issue Type: Bug
         Environment: All
            Reporter: Ted Dunning


See summary.

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


[jira] Updated: (MAHOUT-23) Getting a row or column from a matrix view gives a row or column from the wrapped matrix.

Posted by "Jeff Eastman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Eastman updated MAHOUT-23:
-------------------------------

    Attachment: MAHOUT-23b.patch

This patch adds a new unit test class, TestMatrixView, and fixes several defects in MatrixView uncovered during my and Ted's testing:

MatrixView.java
- asWritableComparable: fixed formatting to add '[, '
- like: return new underlying Matrix instance with cardinality = receiver's
- setRow, setColumn: iterate to set elements
- getRow, getColumn: return new MatrixViews (Ted's patch)

It also includes Ted's patches to MAHOUT-21 exceptions, making them runtime vs. checked

I will commit these changes once I get my secret handshake from ASF. If somebody else wants to use them before then, just take the issue and commit the patch yourself.

> Getting a row or column from a matrix view gives a row or column from the wrapped matrix.
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-23
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-23
>             Project: Mahout
>          Issue Type: Bug
>         Environment: All
>            Reporter: Ted Dunning
>            Assignee: Jeff Eastman
>         Attachments: MAHOUT-23.patch, MAHOUT-23b.patch
>
>
> See summary.

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


[jira] Commented: (MAHOUT-23) Getting a row or column from a matrix view gives a row or column from the wrapped matrix.

Posted by "Jeff Eastman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584343#action_12584343 ] 

Jeff Eastman commented on MAHOUT-23:
------------------------------------

Actually, there is a whole unit test class missing for the MatrixView. I'm writing one now and will incorporate the above patch asap.

> Getting a row or column from a matrix view gives a row or column from the wrapped matrix.
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-23
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-23
>             Project: Mahout
>          Issue Type: Bug
>         Environment: All
>            Reporter: Ted Dunning
>         Attachments: MAHOUT-23.patch
>
>
> See summary.

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


[jira] Updated: (MAHOUT-23) Getting a row or column from a matrix view gives a row or column from the wrapped matrix.

Posted by "Ted Dunning (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Dunning updated MAHOUT-23:
------------------------------

    Attachment: MAHOUT-23.patch

There is a bug in handling of rows and column views of matrix views.  This is a fix.


> Getting a row or column from a matrix view gives a row or column from the wrapped matrix.
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-23
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-23
>             Project: Mahout
>          Issue Type: Bug
>         Environment: All
>            Reporter: Ted Dunning
>         Attachments: MAHOUT-23.patch
>
>
> See summary.

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


[jira] Updated: (MAHOUT-23) Getting a row or column from a matrix view gives a row or column from the wrapped matrix.

Posted by "Jeff Eastman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Eastman updated MAHOUT-23:
-------------------------------

    Component/s: Matrix

> Getting a row or column from a matrix view gives a row or column from the wrapped matrix.
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-23
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-23
>             Project: Mahout
>          Issue Type: Bug
>          Components: Matrix
>         Environment: All
>            Reporter: Ted Dunning
>            Assignee: Jeff Eastman
>         Attachments: MAHOUT-23.patch, MAHOUT-23b.patch
>
>
> See summary.

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


[jira] Assigned: (MAHOUT-23) Getting a row or column from a matrix view gives a row or column from the wrapped matrix.

Posted by "Jeff Eastman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Eastman reassigned MAHOUT-23:
----------------------------------

    Assignee: Jeff Eastman

> Getting a row or column from a matrix view gives a row or column from the wrapped matrix.
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-23
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-23
>             Project: Mahout
>          Issue Type: Bug
>         Environment: All
>            Reporter: Ted Dunning
>            Assignee: Jeff Eastman
>         Attachments: MAHOUT-23.patch
>
>
> See summary.

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


[jira] Resolved: (MAHOUT-23) Getting a row or column from a matrix view gives a row or column from the wrapped matrix.

Posted by "Jeff Eastman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Eastman resolved MAHOUT-23.
--------------------------------

    Resolution: Fixed

r649662 committed the latest patch file, so closing this issue

> Getting a row or column from a matrix view gives a row or column from the wrapped matrix.
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-23
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-23
>             Project: Mahout
>          Issue Type: Bug
>          Components: Matrix
>         Environment: All
>            Reporter: Ted Dunning
>            Assignee: Jeff Eastman
>         Attachments: MAHOUT-23.patch, MAHOUT-23b.patch
>
>
> See summary.

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


[jira] Updated: (MAHOUT-23) Getting a row or column from a matrix view gives a row or column from the wrapped matrix.

Posted by "Karl Wettin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Wettin updated MAHOUT-23:
------------------------------

    Fix Version/s: 0.1

> Getting a row or column from a matrix view gives a row or column from the wrapped matrix.
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-23
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-23
>             Project: Mahout
>          Issue Type: Bug
>          Components: Matrix
>         Environment: All
>            Reporter: Ted Dunning
>            Assignee: Jeff Eastman
>             Fix For: 0.1
>
>         Attachments: MAHOUT-23.patch, MAHOUT-23b.patch
>
>
> See summary.

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


[jira] Commented: (MAHOUT-23) Getting a row or column from a matrix view gives a row or column from the wrapped matrix.

Posted by "Ted Dunning (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584348#action_12584348 ] 

Ted Dunning commented on MAHOUT-23:
-----------------------------------


I put one test in the dense matrix test for this.  You should probably steal
that if you are building an entire test case/suite.






> Getting a row or column from a matrix view gives a row or column from the wrapped matrix.
> -----------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-23
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-23
>             Project: Mahout
>          Issue Type: Bug
>         Environment: All
>            Reporter: Ted Dunning
>         Attachments: MAHOUT-23.patch
>
>
> See summary.

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