You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Hui Wen Han (JIRA)" <ji...@apache.org> on 2010/07/01 15:22:50 UTC

[jira] Created: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
--------------------------------------------------------------------------------------------

                 Key: MAHOUT-432
                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
             Project: Mahout
          Issue Type: New Feature
          Components: Collaborative Filtering
    Affects Versions: 0.4
            Reporter: Hui Wen Han
             Fix For: 0.4


Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?

--itemsFile some likes the the --usersFile.

in some case, we want to calculate similarity using all preferences data ,
but some item in  preferences  are old ,not available,behind the times or retired ,
we want that those data can not recommend to users, can only recommend user with new or valid items.

so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.



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


[jira] Updated: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Hui Wen Han updated MAHOUT-432:
-------------------------------

    Attachment: mahout_patch_2010075_02.txt

I changed the return to continue.

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: mahout_patch_2010075.txt, mahout_patch_2010075_02.txt
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Updated: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Hui Wen Han updated MAHOUT-432:
-------------------------------

    Status: Patch Available  (was: Open)

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Issue Comment Edited: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

Posted by "Hui Wen Han (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885145#action_12885145 ] 

Hui Wen Han edited comment on MAHOUT-432 at 7/5/10 4:47 AM:
------------------------------------------------------------

add one parameter --itemsFile for RecommenderJob,
only items in the itemsFile will recommend to user.

patch file:
https://issues.apache.org/jira/secure/attachment/12448676/mahout_patch_2010075.txt

      was (Author: huiwenhan):
    add one parameter --itemsFile for RecommenderJob,
only items in the itemsFile will recommend to user
  
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: mahout_patch_2010075.txt
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Updated: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Hui Wen Han updated MAHOUT-432:
-------------------------------

    Status: Open  (was: Patch Available)

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Commented: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

Posted by "Hui Wen Han (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884322#action_12884322 ] 

Hui Wen Han commented on MAHOUT-432:
------------------------------------

Hi,Sebastian,
We have think about that ,but for commerce  system ,the invalid data is very much and some has very high score and very popular. 
even we compute 10 times as much recommended items as we need,it maybe all of them are invalid.


> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Commented: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Sean Owen commented on MAHOUT-432:
----------------------------------

I see, the suggestion is just to filter out certain items from recommendation? that's simpler, and different, than excluding some item data entirely. It's possible, not sure when I can get to thinking about it myself but I could look at a patch. I don't imagine it's controversial, yeah.

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Updated: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Hui Wen Han updated MAHOUT-432:
-------------------------------

    Status: In Progress  (was: Patch Available)

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Updated: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Sean Owen updated MAHOUT-432:
-----------------------------

    Assignee: Sean Owen
    Priority: Minor  (was: Major)

Hmm, I'm not convinced this is worth the complexity. The input should already be 'cleaned' in this regard. It could be difficult to implement pruning at this level for all algorithms. I'll leave it open but not entirely sure how to really implement this.

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Commented: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

Posted by "Tolga Oral (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884371#action_12884371 ] 

Tolga Oral commented on MAHOUT-432:
-----------------------------------

Hi Sean;

This feature is available on the non-distributed algo's vi IDRescorer, its pretty powerfull to be skipped over for the distributed version.

I havent had a chance to look at the implementation of distributed recommender, however reading the Mahout In Action, it seems like another map/reduce task might do the job.

Conceptually additional step would generate an identity matrix where all items except the ones you are able to recommend will have 0 at their index. Also same matrix can be used to boost recommendations like the rescore() method when value of the identity matrix is not 1 but a different scalar multiplier.

What do you think Sean, would this work? We can look at how to implement it if sounds like a possible solution to you?

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Updated: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Tolga Oral updated MAHOUT-432:
------------------------------

    Comment: was deleted

(was: Hi Sean;

This feature is available on the non-distributed algo's vi IDRescorer, its pretty powerfull to be skipped over for the distributed version.

I havent had a chance to look at the implementation of distributed recommender, however reading the Mahout In Action, it seems like another map/reduce task might do the job.

Conceptually additional step would generate an identity matrix where all items except the ones you are able to recommend will have 0 at their index. Also same matrix can be used to boost recommendations like the rescore() method when value of the identity matrix is not 1 but a different scalar multiplier.

What do you think Sean, would this work? We can look at how to implement it if sounds like a possible solution to you?)

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Commented: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

Posted by "Hui Wen Han (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884318#action_12884318 ] 

Hui Wen Han commented on MAHOUT-432:
------------------------------------

The input is not cleared,because it can more accurately calculate user's similarity using all or most items in preferences than only using valid or new  items in preferences.

the change seems  that it not much large,

we can just skip those items that are not in itemsFile when we add item to topItems.

 Queue<RecommendedItem> topItems = new PriorityQueue<RecommendedItem>(recommendationsPerUser + 1,
102 	Collections.reverseOrder(ByValueRecommendedItemComparator.getInstance()));
103 	
104 	Iterator<Vector.Element> recommendationVectorIterator =
105 	recommendationVector.iterateNonZero();
106 	while (recommendationVectorIterator.hasNext()) {
107 	Vector.Element element = recommendationVectorIterator.next();
108 	int index = element.index();
109 	float value = (float) element.get();
110 	if (!Float.isNaN(value)) {
111 	if (topItems.size() < recommendationsPerUser) {
112 	topItems.add(new GenericRecommendedItem(indexItemIDMap.get(index), value));
113 	} else if (value > topItems.peek().getValue()) {
114 	topItems.add(new GenericRecommendedItem(indexItemIDMap.get(index), value));
115 	topItems.poll();
116 	}
117 	}
118 	} 

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Resolved: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Sean Owen resolved MAHOUT-432.
------------------------------

    Resolution: Fixed

Looks good except that I think you don't want to return when the item is not recommendable. Then nothing would be recommended.

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: mahout_patch_2010075.txt
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Commented: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Sean Owen commented on MAHOUT-432:
----------------------------------

Was there a patch available? I saw it change to Patch Available status but don't see it here.

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Updated: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Hui Wen Han updated MAHOUT-432:
-------------------------------

    Comment: was deleted

(was: I changed the return to continue.

https://issues.apache.org/jira/secure/attachment/12448698/mahout_patch_2010075_02.txt)

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: mahout_patch_2010075.txt, mahout_patch_2010075_02.txt
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Updated: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Hui Wen Han updated MAHOUT-432:
-------------------------------

    Comment: was deleted

(was: add one parameters for RecommenderJob)

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: mahout_patch_2010075.txt
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Issue Comment Edited: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

Posted by "Hui Wen Han (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885211#action_12885211 ] 

Hui Wen Han edited comment on MAHOUT-432 at 7/5/10 8:51 AM:
------------------------------------------------------------

I changed the return to continue.

https://issues.apache.org/jira/secure/attachment/12448698/mahout_patch_2010075_02.txt

      was (Author: huiwenhan):
    I changed the return to continue.
  
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: mahout_patch_2010075.txt, mahout_patch_2010075_02.txt
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Commented: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

Posted by "Hui Wen Han (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885234#action_12885234 ] 

Hui Wen Han commented on MAHOUT-432:
------------------------------------

Thanks Sean, I see the change

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: mahout_patch_2010075.txt, mahout_patch_2010075_02.txt
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Commented: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

Posted by "Sebastian Schelter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884306#action_12884306 ] 

Sebastian Schelter commented on MAHOUT-432:
-------------------------------------------

I can see the use of having this for example when your application domain is ecommerce where products might be out of stock for some days and you don't want to recommend them then. A possible (but not ideal) solution could be to just compute double as much recommended items as you need and then filter out the ones that are not available afterwards, would that work for you, Hui?

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Updated: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Hui Wen Han updated MAHOUT-432:
-------------------------------

    Status: Patch Available  (was: Open)

add one parameters for RecommenderJob

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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


[jira] Updated: (MAHOUT-432) Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob

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

Hui Wen Han updated MAHOUT-432:
-------------------------------

    Attachment: mahout_patch_2010075.txt

add one parameter --itemsFile for RecommenderJob,
only items in the itemsFile will recommend to user

> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob 
> --------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-432
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-432
>             Project: Mahout
>          Issue Type: New Feature
>          Components: Collaborative Filtering
>    Affects Versions: 0.4
>            Reporter: Hui Wen Han
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: mahout_patch_2010075.txt
>
>
> Can add one parameter --itemsFile for org.apache.mahout.cf.taste.hadoop.item.RecommenderJob ?
> --itemsFile some likes the the --usersFile.
> in some case, we want to calculate similarity using all preferences data ,
> but some item in  preferences  are old ,not available,behind the times or retired ,
> we want that those data can not recommend to users, can only recommend user with new or valid items.
> so we can add on paramete  --itemsFile for RecommenderJob, itemsFile includes all the new valid items.

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