You almost certainly need to modify a DataModel too to expose this extra
information.
But that and your proposed modification seems like all you need to worry
about. The rest should work as-is.
I would use code from Subversion, not just 0.5.

On Sat, Jan 28, 2012 at 4:42 PM, gj <[email protected]> wrote:

> Hi,
>
> I am trying some experiments (mahout 0.5) with a new neighbourhood
> model that includes implicit feedback as well as explicit feedback.
> And I wanted to know, what are the clIasses, etc that I need to
> modify.
>
> To start, my input to the system should in the following format:
>
> userid, itemid, exp_feedback, imp_feedback
>
> where userid and itemid are integers and exp_feedback and imp_feedback
> are floats between 0.0 and 1.0
> for example:
>
> 101, 1, 0.67, 0.18
>
> I've used the recommender system code in mahout before. But it will be
> my first time trying to modify it in order to run some custom code. I
> have skimmed through the Mahout in Action book.
>
> The other point is that I want to make this modifications with as
> little changes to the mahout distribution so that I can benefit from
> the optimisations that are present in the distribution.
>
> Definitely I need to have custom UserSimilarity and I need a custom
> UserNeighborhood? What else? Can somebody please give me some pointers
> where to start, e.g which classes i need to modify, etc. and what are
> the things I should be wary of? Then I will have a go and report back
> my progress.
>
>
> Regards
> Gawesh
>

Reply via email to