Hi,

1. event: event means the name of your event, forsay "buy", "view" ,
"rate", "like". (It's not a model name)
2. entityType is always user, since the event corresponds to a user's
event.
3. EntityId correspond to a user ID.
4. properties can vary, for example I might pass a category id of a
particular purchase event, or something like that.

A basic event would look something like this:

{"entityId":"User1","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"Product1"}
{"entityId":"User2","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"Product2"}
{"entityId":"User3","entityType":"user","event":"view","targetEntityType":"item","targetEntityId":"Product5"}

I hope this helps

On Wed, Apr 12, 2017 at 5:42 PM, Ravi Kiran <ravi.gun...@gmail.com> wrote:

> Hi,
> I am getting started with prediction IO. I need clarification about
> prediction IO event creation api terminology. I want someone to verify if
> my understanding of terminology is correct.
>
> As per terminology here
> <http://predictionio.incubator.apache.org/datacollection/eventapi/#>,
>
> 1) Does 'event' mean model name?
>
> 2) 'entityType' is analogous to table name. Can I consider entityType is
> like name of dataset (features and dependent variable data set)
>
> 3) 'entityId' is like row number of data set
>
> 4) attributes in 'properties' mean features (or variables)
>
> I want someone to confirm if my above assumptions are correct?
>

Reply via email to