Retrieval Strategy
A retrieval strategy refers to a preliminary selection among a large number of items for the final generation of a personalized candidate set for each user. A retrieval strategy is an algorithm strategy that generates recommendation candidate sets through big data computing or deep training. Multiple retrieval modes are built inside the retrieval strategy. You can select a retrieval mode appropriate for your business environments.
Nearline Retrieval
| Parameter | Description |
|---|---|
| Name | The name of a nearline retrieval, which consists of letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name contains up to 64 characters. |
| Description | A description of the nearline retrieval strategy. |
| ItemCF Job Name | No default value. The results generated by the itemCF jobs can be used to further increase the candidate sets to be retrieved. |
| Time Filter | If Time Filter is selected, candidate sets will be filtered by time. This function is disabled by default. If you enable it, set the following parameters:
In the retrieval results, only the results that meet the following condition are retained: Current time - publishTime or expireTime < Retention Period. |
| Retrieval Field | Retrieves candidate sets based on the selected fields. Options are generated in the Retrieval Field drop-down list only when the corresponding item features have been applied to the interest feature. For example, if you apply the item feature "tags" to the interest feature, the interested_tags option is generated in the drop-down list of Retrieval Field. A retrieval field has multiple values, but only one of them is used by default. You can add values if needed. When a retrieval field is selected, it is used by default. The number of the retrieved field is 1, which can be adjusted based on site requirements.
|
| Max. Recommendation Results | Max. number of recommendation results that can be generated. The default value is 100. This parameter is used in the recommended candidate sets of Output Data. |
| Alarm | If the Alarm function is enabled, an alarm is generated and sent to you when an exception occurs. This function is disabled by default. If you enable it, set the following parameters:
|
Recommendation Based on Comprehensive Behavior Popularity
| Parameter | Description |
|---|---|
| Name | The name of a selected strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain no more than 64 characters. |
| Description | A description of the strategy to be created. |
| Data Source Type | Data source types include user features and item features. Data is filtered based on data sources to select required features. You can choose to group users or items. Multiple features can be configured in a group. User Feature: Select a feature from the drop-down list for retrieval calculation. Example: " user_meta_list": ["gender","age"]
|
| Behavior Statistics Method | Method for recording item statistics.
|
| Ranking Algorithm Type | Whether to attenuate the item popularity over time. The options are as follows:
|
| Max. Recommendation Results | Max. number of recommendation results that can be generated. |
| Schedule | Enable the schedule function to execute jobs repeatedly based on the configured schedule policy.
|
ItemCF Recommendation
| Parameter | Description |
|---|---|
| Name | The name of a selected strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain no more than 64 characters. |
| Description | A description of the strategy to be created. |
| Nearest Neighbors | The ItemCF algorithm is used to generate a similarity matrix that contains several items of highest similarity for each item. The default value is 100. |
| Similarity Degree | Combined parameters used to filter the nearest neighbors of an item. The larger the value, the stricter filter conditions. The value is an integer ranging from 1 to 10. The default value is 3. |
| Similarity Distance | Combined parameters used to filter the nearest neighbors of an item. The smaller the value, the stricter filter conditions. The value is an integer ranging from 1 to 100. The default value is 20. |
| User Activeness | Activeness threshold for filtering users. The value ranges from 1 to 10,000. The default value is 1. |
| Max. Recommendation Results | Max. number of recommendation results that can be generated. The default value is 100. |
| Time Range | Number of days in which behavior data is obtained from the data source to calculate the similarity. By default, all data is obtained. |
| Schedule | Enable the schedule function to execute jobs repeatedly based on the configured schedule policy.
|
UserCF Recommendation
User-based collaborative filtering recommendation uses the classic recommendation algorithm UserCF to perform retrieval. The user-based collaborative filtering algorithm detects users' preferences (such as purchase, favorites, content comment, and sharing) based on users' historical behaviors, and measures and scores the preferences. The relationship between users is calculated based on the attitudes and preferences of different users for the same item. Items are recommended to users who have the same preferences.
| Parameter | Description |
|---|---|
| Name | The name of a selected strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain no more than 64 characters. |
| Description | A description of the strategy to be created. |
| Nearest Neighbors | The UserCF algorithm is used to generate a similarity matrix that contains several users of highest similarity for each user. The default value is 100. |
| Similarity Degree | Combined parameter used to filter the nearest neighbors of a user. The larger the value, the stricter filter conditions. The value is an integer ranging from 1 to 10. The default value is 3. |
| Similarity Distance | Combined parameter used to filter the nearest neighbors of a user. The smaller the value, the stricter filter conditions. The value is an integer ranging from 1 to 100. The default value is 20. |
| Item Activeness | Activeness threshold for filtering items. The value ranges from 1 to 10,000. The default value is 1. |
| Max. Recommendation Results | Max. number of recommendation results that can be generated. The default value is 100. |
| Time Range | Number of days in which behavior data is obtained from the data source to calculate the similarity. By default, all data is obtained. |
| Schedule | Enable the schedule function to execute jobs repeatedly based on the configured schedule policy.
|
ALS-based MF Recommendation
| Parameter | Description |
|---|---|
| Name | The name of a selected strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain no more than 64 characters. |
| Description | A description of the strategy to be created. |
| Embedding Size | Used by the ALS algorithms to specify the embedding size of users and items. If an offline computing task fails, set this parameter to a value less than 10. The default value is 10. |
| Max. Iterations | Max. iterations in iteration optimization. If an offline computing task fails, set this parameter to a value less than 10. The default value is 10. |
| Optimization Lambda | Parameter used by the ALS algorithm to specify the regularization coefficient for the cost parameter in the optimization objective to avoid fitting. The default value is 0.01. |
| Max. Recommendation Results | Max. number of recommendation results that can be generated. The default value is 100. |
| Schedule | Enable the schedule function to execute jobs repeatedly based on the configured schedule policy.
|
Business Rule-Historical Behavior-based Recommendation
| Parameter | Description |
|---|---|
| Name | The name of a selected strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain no more than 64 characters. |
| Description | A description of the strategy to be created. |
| Frequency |
Click |
| Max. Recommendation Results | Max. number of recommendation results that can be generated. The default value is 100. |
| Schedule | Enable the schedule function to execute jobs repeatedly based on the configured schedule policy.
|
Business Rule-Manual Import
| Parameter | Description |
|---|---|
| Name | The name of a selected strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain no more than 64 characters. |
| Description | A description of the strategy to be created. |
| OBS Address | The address where you can select custom item lists. Click |
| Max. Recommendation Results | Max. number of recommendation results that can be generated. The default value is 100. |
| Schedule | Enable the schedule function to execute jobs repeatedly based on the configured schedule policy.
|
Feature Matching - based Retrieval Strategy
The feature matching - based retrieval strategy uses user-profile-related attributes and item-profile-related attributes to perform matching tasks and retrieve items with high matching degrees.
| Parameter | Description |
|---|---|
| Name | The name of a selected strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain no more than 64 characters. |
| Description | A description of the strategy to be created. |
| Matched Feature Pair | A pair of features that associated a user with an item. Set this parameter according to your actual situation. If the feature similarity of the matched item and user is high, the memory needs to be improved.
You can click |
| Buckets in One Group | Number of buckets in a recommendation group. The larger the value, the more strictly the similar items are filtered. The default value is 5. |
| Groups of Buckets | Number of bucket groups. The smaller the value, the more strictly the similar items are filtered. The default value is 20. |
| Max. Recommendation Results | Max. number of recommendation results that can be generated. The default value is 100. |
| Schedule | Enable the schedule function to execute jobs repeatedly based on the configured schedule policy.
|
UCB-based Retrieval Strategy
| Parameter | Description |
|---|---|
| Name | The name of a selected strategy, which can contain letters, digits, underscores (_), spaces, or hyphens (-) and cannot start or end with a space. The name can contain no more than 64 characters. |
| Description | A description of the strategy to be created. |
| Min. Behavior Count | Min. number of users who have performed operations on an item. A user only behaved on an item once. The default value is 30. |
| Compromise Parameter | A balancing parameter of two opposing situations that ranges from 0 to 1. In RES, alpha is a tradeoff parameter between exploration and exploitation. If the value of alpha is close to 0, it is more suitable to explore items that are likely valuable but less popular. If the value of alpha is close to 1, it is more suitable to deeply exploit the items with the highest scores. The default value is 0.5. |
| Max. Recommendation Results | Max. number of recommendation results that can be generated. The default value is 100. This parameter is used in the recommended candidate sets of Output Data. |
| Schedule | Enable the schedule function to execute jobs repeatedly based on the configured schedule policy.
|
Last Article: Algorithm and Parameter Description
Next Article: Filter Rule




Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.