You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-6Lines changed: 20 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -262,7 +262,7 @@ The query returns personalized recommendations, similar items, or a mix includin
262
262
},{
263
263
“name”: “genre”,
264
264
“values”: [“sci-fi”, “detective”]
265
-
“bias”: 0.2 // boost/favor recommendations with the `genre’ = `sci-fi` or ‘detective’
265
+
“bias”: 1.02 // boost/favor recommendations with the `genre’ = `sci-fi` or ‘detective’
266
266
}
267
267
]
268
268
}
@@ -282,7 +282,7 @@ When the a date is stored in the items properties it can be used in a date range
282
282
},{
283
283
“name”: “genre”,
284
284
“values”: [“sci-fi”, “detective”]
285
-
“bias”: 0.2 // boost/favor recommendations with the `genre’ = `sci-fi` or ‘detective’
285
+
“bias”: 1.02 // boost/favor recommendations with the `genre’ = `sci-fi` or ‘detective’
286
286
}
287
287
],
288
288
"dateRange": {
@@ -308,8 +308,7 @@ When setting an available date and expire date on items, the current date can be
308
308
},{
309
309
“name”: “genre”,
310
310
“values”: [“sci-fi”, “detective”]
311
-
“bias”: 0.2 // boost/favor recommendations with the `genre’ = `sci-fi` or ‘detective’
312
-
}
311
+
“bias”: 1.02 }
313
312
],
314
313
"currentDate": "2015-08-15T11:28:45.114-07:00"
315
314
}
@@ -328,14 +327,22 @@ When setting an available date and expire date on items, the current date can be
328
327
},{
329
328
“name”: “genre”,
330
329
“values”: [“sci-fi”, “detective”]
331
-
“bias”: 0.2 // boost/favor recommendations with the `genre’ = `sci-fi` or ‘detective’
330
+
“bias”: 1.02 // boost/favor recommendations with the `genre’ = `sci-fi` or ‘detective’
332
331
}
333
332
]
334
333
}
335
334
336
335
This returns items based on user xyz history or similar to item 53454543513 but favoring user history recommendations. These are filtered by categories and boosted to favor more genre specific items.
337
336
338
-
**Note**:This query should be considered **experimental**. mixing user history with item similarity is possible but may have unexpected results.
337
+
**Note**:This query should be considered **experimental**. mixing user history with item similarity is possible but may have unexpected results. If you use this you should realize that user and item recommendations may be quite divergent and so mixing the them in query may produce nonsense. Use this only with the engine.json settings for "userbias" and "itembias" to favor one over the other.
338
+
339
+
340
+
###Popular Items
341
+
342
+
{
343
+
}
344
+
345
+
This is a simple way to get popular items. All returned scores will be 0 but the order will be based on relative popularity. Field-based biases for boosts and filters can also be applied.
339
346
340
347
##Events
341
348
The Universal takes in potentially many events. These should be seen as a primary evnet, which is a very clear indication of a user preference and secondary events that we think may tell us something about user "taste" in some way. The Universal Recommender is built on a distributed Correlation Engine so it will test that these secondary events actually relate to the primary one and those that do not correlate will have little or no effect on recommendations (though they will make it longer to train and get query results). It is recommended that you start with one ot two events and increase the number as you see how these events effect results and timing.
@@ -402,6 +409,13 @@ To begin using new data with an engine that has been used with sample data or us
402
409
403
410
## Versions
404
411
412
+
### v0.2.2
413
+
414
+
- a query with no item or user will get recommendations based on popularity
415
+
- a new integration test has been added
416
+
- a regression bug where some ids were being tokenized by Elasticsearch, leading to incorrect results, was fixed. **NOTE: for users with complex ids containing dashes or spaces this is an important fix.**
417
+
- a dateRange in the query now takes precidence to the item attached expiration and avaiable dates.
418
+
405
419
### v0.2.1
406
420
407
421
- date ranges attached to items will be compared to the prediction servers current data if no date is provided in the query.
0 commit comments