predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liuyinwei <liuyin...@juqitech.com>
Subject Re: PIO Template for User Label Inference
Date Wed, 25 Oct 2017 03:43:53 GMT
<html>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</head>
<body>
<style>
    font{
        line-height: 1.7;
    }
</style>
<div style = 'font-family:"微软雅黑"; font-size: 14px; color:#000000; line-height:1.7;'>
    <div>
<div><span>Thanks&nbsp;</span>Vaghawan.&nbsp;<span style="line-height:
1.7;">We tried UR but it doesn't return&nbsp;</span><span style="line-height:
23.8px;">recommended&nbsp;</span><span style="line-height: 1.7;">User Label/Properties,
instead it only return recommended items.&nbsp;</span></div><div>Am
I miss anything here?</div>
<div><span><br></span></div><div><b style="line-height:
1.7;">Here is the UR query we use to get user data:</b><span style="line-height:
1.7;"> </span><i style="line-height: 1.7;">query: { "user": "U 2" ,"num":4}</i></div><div><div><b><br></b></div><div><b>Here
is the UR response, however, it doesn't have properties we want, ideally, we want it return
user's properites, e.g. 70s</b></div><div>{</div><div>&nbsp;
&nbsp; "itemScores": [</div><div>&nbsp; &nbsp; &nbsp; &nbsp;
{</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
"item": "Iphone 4",</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; "score": 0.11071484535932541</div><div>&nbsp; &nbsp; &nbsp;
&nbsp; },</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "item": "Ipad-retina",</div><div>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "score": 0.011783885769546032</div><div>&nbsp;
&nbsp; &nbsp; &nbsp; },</div><div>&nbsp; &nbsp; &nbsp;
&nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; "item": "Surface",</div><div>&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; "score": 0</div><div>&nbsp; &nbsp; &nbsp; &nbsp;
}</div><div>&nbsp; &nbsp; ]</div><div>}</div><div><br></div><div>David</div></div></div><div
class="J-reply" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:'微软雅黑';"><div
style="font-size:14px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px"><br></div><div
style="font-size:14px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">On
<span class="mail-date">10/23/2017 19:37</span>,<a class="mail-to" style="text-decoration:none;color:#2a83f2;"
href="mailto:vaghawan781@gmail.com">Vaghawan Ojha&lt;vaghawan781@gmail.com&gt;</a>
wrote: </div>
</div>
<blockquote id="ntes-pcmail-quote" style="margin: 0; padding: 0; font-size: 14px; font-family:
'微软雅黑';">
<div dir="ltr">Hi, you could use the labels as properties, templates like UR supports
multiple properties, you can set the properties for that user.&nbsp;<div><br></div><div><a
href="http://actionml.com/docs/ur_input">http://actionml.com/docs/ur_input</a><br></div><div><a
href="https://predictionio.incubator.apache.org/datacollection/eventapi/">https://predictionio.incubator.apache.org/datacollection/eventapi/</a>
you can see the uses of properties in the events here.&nbsp;<br></div><div><br></div><div>Thanks</div></div><div
class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 23, 2017 at 4:32
PM, liuyinwei <span dir="ltr">&lt;<a href="mailto:liuyinwei@juqitech.com" target="_blank">liuyinwei@juqitech.com</a>&gt;</span>
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">

    

<div>

<div style="font-family:&quot;\005fae\008f6f\0096c5\009ed1&quot;;font-size:14px;color:#000000;line-height:1.7">
    <div>
<div><b style="line-height:1.7">Hi there,</b></div></div><blockquote
id="m_4118357989532352349ntes-pcmail-quote" style="margin:0;padding:0;font-size:14px;font-family:'\005fae\008f6f\0096c5\009ed1'"><div
style="font-family:&quot;\005fae\008f6f\0096c5\009ed1&quot;;font-size:14px;color:#000000;line-height:1.7"><div><span><b><br></b></span></div><div><span><b>&nbsp;Could
someone know which PIO template can do customer label/profile inference according to the product
label?</b></span></div><div><span><br></span></div><div><span>&nbsp;We
want to use PIO to infer the user profile and user labels according to the products they viewed
or bought, &nbsp;our customers could listen and buy some songs in our website, and then
we can know the preference of&nbsp;</span><span style="line-height:23.8px">customer.</span><span
style="line-height:23.8px">&nbsp;</span></div><div><span style="line-height:23.8px"><b><br></b></span></div><div><b><span
style="line-height:23.8px">&nbsp;here is one example:&nbsp;</span><span
style="line-height:23.8px">&nbsp;one Customer A&nbsp;</span><span style="line-height:23.8px">listened&nbsp;</span><span
style="line-height:23.8px">song: &nbsp;</span></b></div><div><span
style="line-height:23.8px">&nbsp; * Numb -- (labels: linkin park, Rock ,&nbsp;</span><span
style="line-height:1.7;color:rgb(51,51,51);font-family:poppin,Tahoma,Arial,微软雅黑,sans-serif;white-space:nowrap">Pop</span><span
style="line-height:1.7;color:rgb(51,51,51);font-family:poppin,Tahoma,Arial,微软雅黑,sans-serif;white-space:nowrap">&nbsp;</span><span
style="line-height:23.8px">),&nbsp;</span></div><div><span style="line-height:23.8px">&nbsp;
* New Divided --&nbsp;</span><span style="line-height:23.8px">(labels: linkin
park, Rock,&nbsp;</span><span style="color:rgb(51,51,51);font-family:poppin,Tahoma,Arial,微软雅黑,sans-serif;white-space:nowrap;line-height:1.7">Pop</span><span
style="color:rgb(51,51,51);font-family:poppin,Tahoma,Arial,微软雅黑,sans-serif;white-space:nowrap;line-height:1.7">&nbsp;</span><span
style="line-height:23.8px">),</span><span style="line-height:23.8px">&nbsp;</span></div><div><span
style="line-height:23.8px">&nbsp; * </span><span style="line-height:1.7">&nbsp;</span><span
style="color:rgb(17,17,17);font-family:Arial,Helvetica,sans-serif;white-space:pre-wrap;line-height:1.7;background-color:rgb(255,255,255)">Hotel
California -- (lables:&nbsp;</span><span style="color:rgb(17,17,17);font-family:Arial,Helvetica,sans-serif;white-space:pre-wrap;line-height:1.7;background-color:rgb(255,255,255)">The
Eagles, Rock , 70's</span><span style="color:rgb(17,17,17);font-family:Arial,Helvetica,sans-serif;line-height:1.7;white-space:pre-wrap;background-color:rgb(255,255,255)">)</span></div>
<div><span><br></span></div><div><span>Then, we
know&nbsp;</span><b style="line-height:23.8px">Customer A should have user
label (Rock) in its user profile.</b></div><div><b style="line-height:23.8px"><br></b></div><div><b>Is
there a PIO Template which can do User Lable Inference?</b></div><div><b><br></b></div><div><b>David</b></div>
<div><br></div><div id="m_4118357989532352349ntes-pcmail-signature" style="font-family:'\005fae\008f6f\0096c5\009ed1'">

</div><br>

</div></blockquote>
</div>
</div>
</blockquote></div><br></div>

</blockquote><style type="text/css">
        a#ntes-pcmail-signature-default:hover {
            text-decoration: underline;
            color: #199cff;
            cursor: pointer;
        }
        a#ntes-pcmail-signature-default:active {
            text-decoration: underline;
            color: #246fce;
            cursor: pointer;
        }
    </style><!--😀-->
</div>
</body>
</html>
Mime
View raw message