Hi,

Will very much appreciate any response!

I am using "purchase" as primary event & "search term" as secondary event
in below set of data. (Only data i uploaded in engine & trained)-

I understand-

Item 2851561,2929427 and 2351393 are higher score because both user 101 &
102 purchased same item 2562459. (primary event relation)

Item 2748084,2859418 follows because they were purchased by user 103 and
both user 102 & 103 searched for"BELTS BAG” (secondary event relation)

Followed by 289818 & 2900542 with score 0 because of no relation.


BUT I was expecting that if I use search term “NINE WEST NOLYN” with user
102 then it would  increase the score of 289818 & 2900542 move them up in
response because user 104 also searched for “NINE WEST NOLYN” and purchased
289818 & 2900542, hence a stronger relationship than user 101 purchased or
event relationship with user 103.


Recommendation requests-

A3837044:bin m828420$ curl -H "Content-Type: application/json" -d '{"user":
"102"}' http://localhost:8000/queries.json

{"itemScores":[{"item":"2851561","score":0.4863930344581604},{"item":"2929427","score":0.3595937192440033},{"item":"2351393","score":0.16528037190437317},{"item":"2748084","score":0.039376020431518555},{"item":"2859418","score":0.039376020431518555},{"item":"2900542","score":0.0},{"item":"2898183","score":0.0}]}

A3837044:bin m828420$ curl -H "Content-Type: application/json" -d '{"user":
"102","search":"BELTS BAG"}' http://localhost:8000/queries.json

{"itemScores":[{"item":"2851561","score":0.4863930344581604},{"item":"2929427","score":0.3595937192440033},{"item":"2351393","score":0.16528037190437317},{"item":"2748084","score":0.039376020431518555},{"item":"2859418","score":0.039376020431518555},{"item":"2900542","score":0.0},{"item":"2898183","score":0.0}]}


A3837044:bin m828420$ curl -H "Content-Type: application/json" -d '{"user":
"102","search":"NINE WEST NOLYN"}' http://localhost:8000/queries.jso

{"itemScores":[{"item":"2851561","score":0.4863930344581604},{"item":"2929427","score":0.3595937192440033},{"item":"2351393","score":0.16528037190437317},{"item":"2748084","score":0.039376020431518555},{"item":"2859418","score":0.039376020431518555},{"item":"2900542","score":0.0},{"item":"2898183","score":0.0}]}


Data I trained on-

{"event":"purchase","entityType":"user","entityId":"101","targetEntityType":"item","targetEntityId":"2562459","properties":{},"eventTime":"2016-05-22T12:00:00.000-06:00"}

{"event":"search","entityType":"user","entityId":"101","targetEntityType":"item","targetEntityId":"SHOES","properties":{},"eventTime":"2016-09-04T12:00:00.000-06:00"}

{"event":"search","entityType":"user","entityId":"101","targetEntityType":"item","targetEntityId":"BAGS","properties":{},"eventTime":"2016-09-04T12:00:00.000-06:00"}

{"event":"purchase","entityType":"user","entityId":"101","targetEntityType":"item","targetEntityId":"2929427","properties":{},"eventTime":"2016-05-22T12:00:00.000-06:00"}

{"event":"purchase","entityType":"user","entityId":"101","targetEntityType":"item","targetEntityId":"2351393","properties":{},"eventTime":"2016-05-22T12:00:00.000-06:00"}

{"event":"purchase","entityType":"user","entityId":"101","targetEntityType":"item","targetEntityId":"2851561","properties":{},"eventTime":"2016-05-22T12:00:00.000-06:00"}

{"event":"purchase","entityType":"user","entityId":"102","targetEntityType":"item","targetEntityId":"2837836","properties":{},"eventTime":"2016-05-22T12:00:00.000-06:00"}

{"event":"search","entityType":"user","entityId":"102","targetEntityType":"item","targetEntityId":"SHOES","properties":{},"eventTime":"2016-09-04T12:00:00.000-06:00"}

{"event":"purchase","entityType":"user","entityId":"102","targetEntityType":"item","targetEntityId":"2562459","properties":{},"eventTime":"2016-05-22T12:00:00.000-06:00"}

{"event":"search","entityType":"user","entityId":"102","targetEntityType":"item","targetEntityId":"BELTS
BAG","properties":{},"eventTime":"2016-09-04T12:00:00.000-06:00"}

{"event":"purchase","entityType":"user","entityId":"103","targetEntityType":"item","targetEntityId":"2748084","properties":{},"eventTime":"2016-05-22T12:00:00.000-06:00"}

{"event":"search","entityType":"user","entityId":"103","targetEntityType":"item","targetEntityId":"BELTS
BAG","properties":{},"eventTime":"2016-09-04T12:00:00.000-06:00"}

{"event":"purchase","entityType":"user","entityId":"103","targetEntityType":"item","targetEntityId":"2859418","properties":{},"eventTime":"2016-05-22T12:00:00.000-06:00"}

{"event":"search","entityType":"user","entityId":"103","targetEntityType":"item","targetEntityId":"BAG","properties":{},"eventTime":"2016-09-04T12:00:00.000-06:00"}

{"event":"purchase","entityType":"user","entityId":"104","targetEntityType":"item","targetEntityId":"2898183","properties":{},"eventTime":"2016-05-22T12:00:00.000-06:00"}

{"event":"search","entityType":"user","entityId":"104","targetEntityType":"item","targetEntityId":"BAG","properties":{},"eventTime":"2016-09-04T12:00:00.000-06:00"}

{"event":"purchase","entityType":"user","entityId":"104","targetEntityType":"item","targetEntityId":"2900542","properties":{},"eventTime":"2016-05-22T12:00:00.000-06:00"}

{"event":"search","entityType":"user","entityId":"104","targetEntityType":"item","targetEntityId":"NINE
WEST NOLYN","properties":{},"eventTime":"2016-09-06T12:00:00.000-06:00"}

Attachment: engine.json
Description: application/json

Reply via email to