Creating an Offline Data Source
Before using RES, you need to create a data source. Later operations, such as modifying a data source and creating a custom recommendation scenario, are performed based on the created data source.
Prerequisites
- You have created OBS buckets and folders for storing data. In addition, the OBS buckets and RES are in the same region.
- You have uploaded data to be used to OBS.
- Up to 5 data sources can be created for an account.
Creating a Data Source
- Log in to the RES management console. Choose Data Sources from the left navigation bar. The Data Sources page is displayed.
- Click Create. On the displayed page, enter a data source name and click
to select an OBS path that stores the data. - Select the offline computing specifications and click Create Now.
Table 1 Parameters required for creating a data source Parameter
Description
Name
The name of a data source. A data source name can contain only letters, digits, underscores (_), and hyphens (-).
User Feature List
Select data from the OBS bucket. Click
to the right of User Feature List. In the dialog box that is displayed, select an OBS bucket and a folder for storing the data.Item Feature List
Select data from the OBS bucket. Click
to the right of Item Feature List. In the dialog box that is displayed, select an OBS bucket and a folder for storing the data.User Behavior List
Select data from the OBS bucket. Click
to the right of User Behavior List. In the dialog box that is displayed, select an OBS bucket and a folder for storing the data.NOTE:The paths for storing the user feature list, item feature list, and user behavior list cannot be the same.
Offline Computing Specifications
The options are 4CU, 8CU, 16CU, and 32CU. The larger the specifications, the faster the calculation.
After the data source is created, the system automatically switches to the data source list page and displays a message indicating that the data source is created successfully. You can delete data sources that you no longer need. Click the name of the created data source on the data source list page to go to the data source details page.
Last Article: Uploading Real-time Data
Next Article: Importing a Nearline Data Source
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.