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: src/RecommApi/Requests/ItemBasedRecommendation.php
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
/**
13
13
* Recommends set of items that are somehow related to one given item, *X*. Typical scenario for using item-based recommendation is when user *A* is viewing *X*. Then you may display items to the user that he might be also interested in. Item-recommendation request gives you Top-N such items, optionally taking the target user *A* into account.
14
14
* It is also possible to use POST HTTP method (for example in case of very long ReQL filter) - query parameters then become body parameters.
15
+
* @deprecated 2.0.0 Use RecommendItemsToItem request instead.
* Recommends set of items that are somehow related to one given item, *X*. Typical scenario is when user *A* is viewing *X*. Then you may display items to the user that he might be also interested in. Recommend items to item request gives you Top-N such items, optionally taking the target user *A* into account.
15
14
* It is also possible to use POST HTTP method (for example in case of very long ReQL filter) - query parameters then become body parameters.
16
15
*/
@@ -31,8 +30,8 @@ class RecommendItemsToItem extends Request {
31
30
* If you insist on not specifying the user, pass `null`
32
31
* (`None`, `nil`, `NULL` etc. depending on language) to *targetUserId*.
33
32
* Do not create some special dummy user for getting recommendations,
34
-
* as it could cause mislead the recommendation models,
35
-
* leading to wrong recommendations.
33
+
* as it could mislead the recommendation models,
34
+
* and result in wrong recommendations.
36
35
* For anonymous/unregistered users it is possible to use for example their session ID.
37
36
*/
38
37
protected$target_user_id;
@@ -156,8 +155,8 @@ class RecommendItemsToItem extends Request {
156
155
* If you insist on not specifying the user, pass `null`
157
156
* (`None`, `nil`, `NULL` etc. depending on language) to *targetUserId*.
158
157
* Do not create some special dummy user for getting recommendations,
159
-
* as it could cause mislead the recommendation models,
160
-
* leading to wrong recommendations.
158
+
* as it could mislead the recommendation models,
159
+
* and result in wrong recommendations.
161
160
* For anonymous/unregistered users it is possible to use for example their session ID.
162
161
* @param int $count Number of items to be recommended (N for the top-N recommendation).
163
162
* @param array $optional Optional parameters given as an array containing pairs name of the parameter => value
* Based on user's past interactions (purchases, ratings, etc.) with the items, recommends top-N items that are most likely to be of high value for a given user.
15
14
* It is also possible to use POST HTTP method (for example in case of very long ReQL filter) - query parameters then become body parameters.
Copy file name to clipboardExpand all lines: src/RecommApi/Requests/UserBasedRecommendation.php
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
/**
13
13
* Based on user's past interactions (purchases, ratings, etc.) with the items, recommends top-N items that are most likely to be of high value for a given user.
14
14
* It is also possible to use POST HTTP method (for example in case of very long ReQL filter) - query parameters then become body parameters.
15
+
* @deprecated 2.0.0 Use RecommendItemsToUser request instead.
0 commit comments