This topic describes how to prepare data by using Integrated Development Environment (IDE) to upload data.

Prerequisites

A project is created. For more information, see Create a project.

Background information

Machine Learning Platform for AI allows you to store data in MaxCompute and Object Storage Service (OSS).
  • Data stored in MaxCompute is used by general-purpose algorithm components.
    Note When the data size is smaller than 20 MB, we recommend that you use IDE to upload data. When the data size is larger than 20 MB, we recommend that you use the command-line tool to upload data. For more information, see Tunnel command usage.
  • Structured or unstructured data stored in OSS is used by algorithm components of deep learning.

Procedure

  1. Go to a Machine Learning Studio project.
    1. Log on to the PAI console.
    2. In the left-side navigation pane, choose Model Training > Studio-Modeling Visualization.
    3. In the upper-left corner of the page, select the region that you want.
    4. Optional:In the search box on the PAI Visualization Modeling page, enter the name of a project to search for the project.
    5. Find the project that you want and click Machine Learning in the Operation column.
  2. Upload data.
    1. In the left-side navigation pane, click Data Source.
    2. In the lower-left corner, click Create Table.
    3. In the Create Table dialog box, set the Table name and Lifecycle (Days) parameters.
    4. In the Schema section, click the Add icon icon. Then, enter a name in the Column Name column and specify the data type in the Type column.
    5. Click Next.
    6. Click Select File and follow the instructions to upload on-premises files.
    7. Click OK.
  3. Create an experiment.
    1. In the left-side navigation pane, click Home.
    2. In the upper-right corner, click New and select New Experiment.
    3. In the New Experiment dialog box, set the Name parameter and click OK.
  4. Configure the data source.
    1. In the left-side navigation pane, click Components.
    2. In the Components pane, click Data Source/Target. Then, drag the Read MaxCompute Table component to the canvas.
    3. Click the Read MaxCompute Table component on the canvas. On the Select Table tab on the right side, enter the name of the created table in the Table Name field.
    4. Click the Fields Information tab to view the columns, data type, the value range of the first 100 rows of the table.

What to do next

After data preparation is complete, you need to preprocess the data. For more information, see Preprocess data.