Skip to content

Instantly share code, notes, and snippets.

@vaghawan
vaghawan / data-sample.json
Created Apr 18, 2017
Sample purchase data for testing MyRecommendation template engine of Prediction IO
View data-sample.json
{"entityId":"user1","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"product5"}
{"entityId":"user3","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"product98"}
{"entityId":"user1","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"product30"}
{"entityId":"user2","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"product5"}
{"entityId":"user6","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"product7"}
{"entityId":"user4","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"product2"}
{"entityId":"user1","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"product101"}
{"entityId":"user10","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"product17"}
{"entityId":"user9","entityType":"user","event":"buy","targetEntityType":"item","targetEntityId":"product65"}
{"entityId":"user17","entityType":"u