Thank you so much Angus for your help.

I did not quite get it, so if I have the following data:

Customer ID          Product ID           Rating
1                           1                        No Rating (0,1)
2                           1                        Like (1,0)
3                           2                        Dislike (0,0)

If what I understood is correct, how can I represent it to Mahout, and is
it going to be a boolean pref data model ?

Thank you so much again,
Best Regards,
Shady

On Sat, Oct 10, 2015 at 3:18 AM, Angus Macnab <angus.mac...@gmail.com>
wrote:

> Rather than try impose ordinality on your data, you can think of "like",
> "dislike", "did not rate" as a categorical feature with a cardinality of
> three, which can be encoded using two binary features.  All possibilities
> are fine, but the most logical is probably: rated=(0,1) and liked=(0,1).
>
> So you just need to come up with the routine to encode these features.
> Hope this helps!
>
> Best,
>
> Angus
> --------------------------------------
> Angus Macnab
>
> On Fri, Oct 9, 2015 at 3:54 PM, Shady Hanna <shadimamdouh...@gmail.com>
> wrote:
>
>> Hi ,
>>
>> I have a data which is represented in like,user did not rate it, and
>> dislike, and I am not sure how I can represent this data to Mahout User
>> Based/Item Based Recommender System, and which user Similarity can be used
>> for such dataset.
>>
>> Would you please advise ?
>>
>> Thank you,
>> Best Regards,
>> Shady
>>
>
>

Reply via email to