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

Otis Gospodnetic commented on MAHOUT-95:
----------------------------------------

I just had a look at the code and your suggestion after a pause.  Yes, that 
would work...

But how about this:
I want to ignore users whose theUser-user similarity is < N.
But I can't do that with the current API if I provide my implementation of 
Rescorer<User> -- I can only pass in Rescorer<Item> rescorers.  I tried adding 
the API that takes Rescorer<User>, but quickly found myself doing surgery on a 
number of classes (Recommender, TopItems, NearestNUserNeighborhood and maybe 
more), so I cowardly backed out...

Maybe I'm missing the right way to add support for passing in an instance of 
Rescorer<User>?


> UserSimilarity-based NearestNNeighborhood
> -----------------------------------------
>
>                 Key: MAHOUT-95
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-95
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>            Reporter: Otis Gospodnetic
>            Priority: Minor
>         Attachments: MAHOUT-95-diff-against-nearestN.txt, MAHOUT-95.patch, 
> MAHOUT-95.patch
>
>
> A variation of NearestNUserNeighborhood.  This version adds the minSimilarity 
> parameter, which is the primary factor for including/excluding other users 
> from the target user's neighbourhood.  Additionally, the 'n' parameter was 
> renamed to maxHoodSize and is used to optionally limit the size of the 
> neighbourhood.
> The patch is for a brand new class, but we may really want just a single 
> class (either keep this one and axe NearestNUserNeighborhood or add this 
> functionality to NearestNUserNeighborhood), if this sounds good.
> I'll update the unit test and provide a patch for that if others think this 
> can go in.
> Thoughts?

-- 
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