You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2009/06/19 01:43:08 UTC

[jira] Created: (MAHOUT-135) Allow FileDataModel to transpose users and items

Allow FileDataModel to transpose users and items
------------------------------------------------

                 Key: MAHOUT-135
                 URL: https://issues.apache.org/jira/browse/MAHOUT-135
             Project: Mahout
          Issue Type: Improvement
          Components: Collaborative Filtering
            Reporter: Grant Ingersoll
            Assignee: Grant Ingersoll
            Priority: Minor
             Fix For: 0.2


Sometimes it would be nice to flip around users and items in the FileDataModel.  This patch adds a transpose boolean that flips userId and itemId in the processLine method.

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


Re: [jira] Commented: (MAHOUT-135) Allow FileDataModel to transpose users and items

Posted by Ted Dunning <te...@gmail.com>.
Transposing is actually a common need as you abstract away from users and
ratings.

On Thu, Jun 18, 2009 at 10:19 PM, Sean Owen (JIRA) <ji...@apache.org> wrote:

> Looks OK to me -- I applied the patch locally and tweaked a few things.
> Seems like a rare use case but simple to implement anyway. Mind if I submit
> over here?
>
> > Allow FileDataModel to transpose users and items
>
>

[jira] Commented: (MAHOUT-135) Allow FileDataModel to transpose users and items

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721738#action_12721738 ] 

Grant Ingersoll commented on MAHOUT-135:
----------------------------------------

Go for it.

> Allow FileDataModel to transpose users and items
> ------------------------------------------------
>
>                 Key: MAHOUT-135
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-135
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 0.2
>
>         Attachments: MAHOUT-135.patch
>
>
> Sometimes it would be nice to flip around users and items in the FileDataModel.  This patch adds a transpose boolean that flips userId and itemId in the processLine method.

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


[jira] Commented: (MAHOUT-135) Allow FileDataModel to transpose users and items

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722137#action_12722137 ] 

Otis Gospodnetic commented on MAHOUT-135:
-----------------------------------------

Really, what is the use case for this?  Wondering, since it's so easy to control the order of these 2-3 pieces of data.  Thanks.

> Allow FileDataModel to transpose users and items
> ------------------------------------------------
>
>                 Key: MAHOUT-135
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-135
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>            Reporter: Grant Ingersoll
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.2
>
>         Attachments: MAHOUT-135.patch
>
>
> Sometimes it would be nice to flip around users and items in the FileDataModel.  This patch adds a transpose boolean that flips userId and itemId in the processLine method.

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


[jira] Commented: (MAHOUT-135) Allow FileDataModel to transpose users and items

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721653#action_12721653 ] 

Sean Owen commented on MAHOUT-135:
----------------------------------

Looks OK to me -- I applied the patch locally and tweaked a few things. Seems like a rare use case but simple to implement anyway. Mind if I submit over here?

> Allow FileDataModel to transpose users and items
> ------------------------------------------------
>
>                 Key: MAHOUT-135
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-135
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 0.2
>
>         Attachments: MAHOUT-135.patch
>
>
> Sometimes it would be nice to flip around users and items in the FileDataModel.  This patch adds a transpose boolean that flips userId and itemId in the processLine method.

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


[jira] Updated: (MAHOUT-135) Allow FileDataModel to transpose users and items

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

Grant Ingersoll updated MAHOUT-135:
-----------------------------------

    Attachment: MAHOUT-135.patch

Patch that adds transpose and tests

> Allow FileDataModel to transpose users and items
> ------------------------------------------------
>
>                 Key: MAHOUT-135
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-135
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 0.2
>
>         Attachments: MAHOUT-135.patch
>
>
> Sometimes it would be nice to flip around users and items in the FileDataModel.  This patch adds a transpose boolean that flips userId and itemId in the processLine method.

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


[jira] Commented: (MAHOUT-135) Allow FileDataModel to transpose users and items

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722171#action_12722171 ] 

Grant Ingersoll commented on MAHOUT-135:
----------------------------------------

See http://www.lucidimagination.com/search/document/4a2631a4adf77262/jira_commented_mahout_135_allow_filedatamodel_to_transpose_users_and_items

If you have thousands of recommendations and you want to transpose them from the original, would you rather rewrite the file or just flip a switch on the FileDataModel?

> Allow FileDataModel to transpose users and items
> ------------------------------------------------
>
>                 Key: MAHOUT-135
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-135
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>            Reporter: Grant Ingersoll
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.2
>
>         Attachments: MAHOUT-135.patch
>
>
> Sometimes it would be nice to flip around users and items in the FileDataModel.  This patch adds a transpose boolean that flips userId and itemId in the processLine method.

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


[jira] Resolved: (MAHOUT-135) Allow FileDataModel to transpose users and items

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

Sean Owen resolved MAHOUT-135.
------------------------------

    Resolution: Fixed
      Assignee: Sean Owen  (was: Grant Ingersoll)

> Allow FileDataModel to transpose users and items
> ------------------------------------------------
>
>                 Key: MAHOUT-135
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-135
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>            Reporter: Grant Ingersoll
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.2
>
>         Attachments: MAHOUT-135.patch
>
>
> Sometimes it would be nice to flip around users and items in the FileDataModel.  This patch adds a transpose boolean that flips userId and itemId in the processLine method.

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