Data registration

Updated at:

After you prepare the user, item, and behavior tables, you must register them with PAI-Rec so that PAI-Rec can use them.

Prerequisites

Data preparation.

Warning

Data registration currently supports only the following data types: STRING, INT, BIGINT, FLOAT, DOUBLE, BOOLEAN, and DATETIME.

Procedure

This topic provides an example of registering user, item, and behavior tables from MaxCompute. The procedure for registering DataHub tables is similar.

  1. Log on to the PAI-Rec console. In the left-side navigation pane, choose Recommendation solution customization > Data registration.

  2. On the MaxCompute table tab, click Add data table, configure the following parameters, and then click Start import.

    Parameter

    Description

    MaxCompute project

    Select the MaxCompute project that contains the user table.

    MaxCompute table

    Select the user table.

    Data table name

    Enter a custom name for the data table.

  3. Repeat the previous step to register the item and behavior tables.

  4. After the import succeeds, you can view the table on the Data registration page. You can also click View fields to re-import the table or edit its fields.