PredictionIO / template-scala-parallel-universal-recommendation

PredictiionIO Template for Universal Recommender
112 stars 48 forks source link

Handling Events Between Multiple Entities #58

Open kaabawan opened 7 years ago

kaabawan commented 7 years ago

I am quite new to predictionIO/universal recommender and wondering is there any way to model events between multiple entities like I want one event courseTaken between user and courses. O there I want is workingIn which will be between user and project. So far I haven't seen that this thing is possible in predictionIO. Can anyone please guide me in this regard?

IlCingalese commented 7 years ago

Hi, for the moment this engine use only 2 fixed entities : 'user' and 'item'.

pferrel commented 7 years ago

Please ask questions on our support group here: https://groups.google.com/forum/#!forum/actionml-user

You can do what you ask with the UR. All usage events must be of the form (user-id, event-name, some-id) the id corresponds to the event and can be anything, so yes, a course-id in the 2 events you mention but also anything else, like (user-id, declaredMajor, degree-id). Really anything you think may indicate something about user taste or preferences.

The only restriction is that the preference indicators must be attached to a user-id.

@IlCingalese is correct about the 2 types of entity ids, but the targetEntityId can be anything that matches the eventName.