actionml / template-scala-parallel-universal-recommendation

30 stars 21 forks source link

Support for Contextual data? #22

Open techscientist opened 8 years ago

techscientist commented 8 years ago

Hi,

How does the UR template allow to recommend based on user context? What query and events allow for this?

For example, let's say I'm making a music app. In this case, my primary indicator would be "play60" (play 60% of the music, for instance), and there would be many secondary indicators (like, dislike, ban, follow, etc.)

When a user plays a track, the event that I record contains many contextual data attached. For instance, a play event might contain the time (morning, afternoon, evening) the user played the track, the type of music, the user's activity (running, walking, driving), the user's location, weather, and other music's attributes.

So, how do I create these events with contextual data? Will the UR automatically learn that a specific user tends to listen to relaxing music in the evening for instance? How does it accept contextual data?