All Products
Search
Document Center

Platform For AI:Etrec U2I2I recall

Last Updated:Aug 19, 2026

This topic describes how to implement the etrec Recall.

Prerequisites

Dataset

This solution uses the pai_online_project.rec_sln_demo_behavior_table demo table.

Field

Type

Description

request_id

BIGINT

Request or tracking ID.

user_id

BIGINT

The user's unique ID.

exp_id

STRING

The experiment ID.

page

STRING

The event page.

net_type

STRING

The network type.

event_time

BIGINT

The timestamp of the behavior.

item_id

BIGINT

The item ID.

event

STRING

The behavior type.

playtime

DOUBLE

The playback or reading duration.

ds

STRING

The name of the partition column.

Etrec recall

  1. Go to the Designer page.

    1. Log on to the Machine Learning Platform for AI (PAI) console.

    2. In the left-side navigation pane, click Workspaces. On the Workspaces page, click the name of your workspace.

    3. In the left-side navigation pane of the workspace, choose Model Development and Training > Visualized Modeling (Designer).

  2. Create a pipeline.

    1. On the Designer page, click the Preset Templates tab.

    2. In the Recommendation Solution - etrec Recall section of the template list, click Create.

    3. In the Create Pipeline dialog box, configure the parameters. You can use the default values.

      The Pipeline Data Path parameter specifies an Object Storage Service (OSS) bucket path. This path stores temporary data and models generated when the pipeline runs.

    4. Click OK. It takes about 10 seconds to create the pipeline.

    5. From the list of pipelines, double-click the Recommendation Solution - etrec Recall pipeline to open its canvas.

    6. The system automatically builds the pipeline on the canvas based on the preset template, as shown in the following figure.image..png

      Component number

      Description

      1

      Behavior weights.

      2

      Prepares 30 days of training samples for the Item-to-Item (I2I) model.

      3

      Improves the accuracy of the User-to-Item (U2I) trigger recall by weighting the user's historical item interactions.

      4

      Trains the etrec I2I collaborative filtering model.

      5

      Splits the etrec I2I scores into partitioned tables in KKV format.

      6

      Calculates the top 500 U2I2I Recall results by joining the U2I trigger table with the I2I table.

  3. Run the pipeline and view the results

    1. On the Global Variables tab, set bizdate to 20230216 and ymd to 20230215.

    2. At the top of the canvas, click Run.

    3. After the pipeline finishes running, view the MaxCompute table rec_sln_demo_etrec_u2i2i_score_v1 in DataWorks. For more information, see View table details. The result table contains three columns: user_id (user ID), item_ids (recommended item IDs and their scores, in the format ItemID::Score,ItemID::Score), and ds (date partition).