predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vaghawan Ojha <vaghawan...@gmail.com>
Subject Re: PIO Template for User Label Inference
Date Thu, 26 Oct 2017 04:01:58 GMT
Hi, Yes as Pat put it clearly as he always does, recommender doesn't do
that, if you really need that maybe you wanna map the events data of the
event server with the user_id and fetch their properties/profile.

Thanks
Vaghawan

On Wed, Oct 25, 2017 at 9:28 AM, liuyinwei <liuyinwei@juqitech.com> wrote:

> Thanks Vaghawan. We tried UR but it doesn't return recommended User
> Label/Properties, instead it only return recommended items.
> Am I miss anything here?
>
> *Here is the UR query we use to get user data:* *query: { "user": "U 2"
> ,"num":4}*
>
> *Here is the UR response, however, it doesn't have properties we want,
> ideally, we want it return user's properites, e.g. 70s*
> {
>     "itemScores": [
>         {
>             "item": "Iphone 4",
>             "score": 0.11071484535932541
>         },
>         {
>             "item": "Ipad-retina",
>             "score": 0.011783885769546032
>         },
>         {
>             "item": "Surface",
>             "score": 0
>         }
>     ]
> }
>
> David
>
> On 10/23/2017 19:37,Vaghawan Ojha<vaghawan781@gmail.com>
> <vaghawan781@gmail.com> wrote:
>
> Hi, you could use the labels as properties, templates like UR supports
> multiple properties, you can set the properties for that user.
>
> http://actionml.com/docs/ur_input
> https://predictionio.incubator.apache.org/datacollection/eventapi/ you
> can see the uses of properties in the events here.
>
> Thanks
>
> On Mon, Oct 23, 2017 at 4:32 PM, liuyinwei <liuyinwei@juqitech.com> wrote:
>
>> *Hi there,*
>>
>>
>> * Could someone know which PIO template can do customer label/profile
>> inference according to the product label?*
>>
>>  We want to use PIO to infer the user profile and user labels according
>> to the products they viewed or bought,  our customers could listen and buy
>> some songs in our website, and then we can know the preference of
>> customer.
>>
>> * here is one example:  one Customer A listened song:  *
>>   * Numb -- (labels: linkin park, Rock , Pop ),
>>   * New Divided -- (labels: linkin park, Rock, Pop ),
>>   *  Hotel California -- (lables: The Eagles, Rock , 70's)
>>
>> Then, we know *Customer A should have user label (Rock) in its user
>> profile.*
>>
>> *Is there a PIO Template which can do User Lable Inference?*
>>
>> *David*
>>
>>
>>
>

Mime
View raw message