Online Service

An online service is used for online recommendation. Online services are independent from each other. Different recommendation services are provided according to candidate sets generated by offline calculation and related parameters.

Table 1 Parameters of an online service

Parameter

Sub-Parameter

Description

Retrieval Pool

Recommendation Candidate Set

Add (Select candidate sets generated by offline or nearline jobs for ranking.)

  • Select a table name. Click the drop-down list box on the right to add the result set generated by the retrieval strategy.
  • Recommendation results with higher priority are displayed before ones with lower priority. P1 is the highest priority level.
  • Enter a proportion of data with the same priority. For recommendation candidate sets with the same priority, the percentage indicates the number of recommended items. The sum of the percentages of the recommended items with the same priority must be equal to 100%.

You can click to add a recommendation candidate set and click on the right to delete it.

Filter (Blacklist)

Offline Filter

Used to filter the results generated by the offline filtering jobs so that the results are not added to the candidate set.

Turn on and select the job result of the target filter rule from the drop-down list.

Behavior Filter

Used to filter user behaviors to prevent them from being added to the candidate set.

Turn on to set the behavior filter. For example, filter the items (such as news) that have been viewed in the past three days so that they cannot be included in the candidate sets. Items that have been viewed and purchased can be excluded so that they are still in the candidate set.

  • Time Range specifies the user behavior time. The value ranges from 1 to 7, and the default value is 3.
  • Behavior Type specifies a type of operation which users perform on items. Items labeled with this operation type will be filtered. Up to five types can be selected.
  • Excluded Behavior Type specifies a type of operation on which users perform on items. Items labeled with this operation are still included in the candidate set.

Feature Deduplication

Click to add features to be deduplicated. Select a feature from the drop-down list for deduplication. For example, if you select product_color, the system will deduplicate the items with the same color. For parameter Feature Deduplication Before Ranking, the options are Yes and No.

Feature Value Filter

Used to customize the filter rules for user and item features. The feature filter rules are used to filter the recommendation results for end users. For example, items that contain sensitive information are filtered out for users from tier-1 cities by excluding the items from the candidate set. Click to add a feature filter rule.

  • User Feature: field in user features to be filtered, which consists of a feature name and value. For example, filter out users whose birthplace is Guangdong and gender is male.
  • Item Feature: field in item features to be filtered, which consists of a feature name and value. For example, filter out the products whose color is red and brand is Huawei.

Feature Pair Filter

Used to customize the filter rules for user and item feature pairs. The feature filter rules are used to filter recommendation results for end users. For example, items that contain sensitive information are filtered out for users from tier-1 cities by excluding the items from the candidate set. Click to add a feature filter rule.

  • User Feature: field in user features to be filtered, which consists of a feature name and value. For example, filter out users whose birthplace is Guangdong and gender is male.
  • Item Feature: field in item features to be filtered, which consists of a feature name and value. For example, filter out the products whose color is red and brand is Huawei.

Filter (whitelist)

Feature Value Reservation

Used to customize the filter rules for user and item features. The selected features are reserved and added to the candidate sets. For example, user and product information of tier-1 cities are reserved. Click to add feature values to be reserved.

Feature Pair Reservation

Used to customize the filter rules for user and item features. The selected feature pairs are reserved and added to the candidate sets. For example, product information of users from tier-1 cities is reserved. Click to add feature pairs to be reserved.

Rank Sequence

Click Through Rate

The Click Through Rate function is disabled by default. When it is enabled, you need to select a created offline ranking strategy from the drop-down list.

Comprehensive Ranking

Re-rank items or content based on the related subject and object features.

  • Feature Matching: Click to add a matching feature pair. For example, if the user feature is age, the item feature is tags, and the weight is 1, the weight is accumulated based on the matching degree between the selected subject and object attribute pairs.
  • Value Comparison: Click to add a feature weight. Select a feature from the drop-down list and set the weight.
  • Statistics Mode: The options are ORDER and ABS. ORDER indicates that items are ranked based on their values. ABS indicates that the absolute values are accumulated by weight.
  • Click Through Rate Weight
  • Comprehensive Ranking Weight

Model Version

Model Version

Select the version of the API to be called.

Advanced Settings

Scatter

The scatter function is used to arrange the output sequence of objects in a mixed manner, which improves the novelty of the recommendation result.

Select a feature to be scattered from the drop-down list.

Top

The top function manually places one or more selected candidate sets before other recommendation results. You can select a recommended candidate set from the drop-down list.

Reduce Weight

If a user has a specified behavior record for an item in a specified time range, the weight of the item will be reduced.

For example, you can reduce the weight of the item that has been viewed in the past three days but not reduce the weight of the item that has been viewed in the past three days and was bought.

  • Time Range (days) specifies the user behavior time. The value ranges from 1 to 7, and the default value is 3.
  • Behavior Type specifies a type of operation which users perform on items. Items labeled with this operation type will undergo weight reduction. Up to five types can be selected.
  • Excluded Behavior Type specifies a type of operation which users perform on items. Items with this operation label will not undergo weight reduction.