Load and Pre-process Data
This topic describes how to load data into PerceptiLabs, pre-process it, and get to a working model.
The first step towards creating a model in PerceptiLabs is to import a dataset using PerceptiLabs' Data Wizard.
Follow the steps below to import a dataset:
1. Click Create Project on the Overview screen to display the Load dataset popup:
2. Choose one of the following options:
a. Load a Public Dataset: This is a good choice for getting a model up and running quickly using existing, publicly-available data. Scroll to a public dataset, hover your mouse over it, and click Load:
PerceptiLabs will load your public dataset, allowing you to create models from it. Wait for the dataset to complete loading, and then click Create to create your first model:
b. Load Your own Dataset: Ensure you have a CSV file and the data it references, all on your local machine. Click Local at the top of the Data Wizard, click Upload .CSV and locate and select your CSV file when prompted:
Tip: Our Dataset Garden also has a number of curated datasets and CSV files that you can download and import to get you to a working model faster.
3. Define your Data Settings so that the Input and Target are on the correct columns:
Note: The name you specify for the model will become the name of the directory where the model.json file is stored. The base path defaults to ~/Users/<username>/Documents/PerceptiLabs/Default.
4. (Optional) Click on the pre-processing button in the column heading to configure data pre-processing settings:
Note: This button is only available for certain datatypes (e.g., images, numerical data, etc.)
This allows you to define any pre-processing steps that PerceptiLabs should perform on your data (e.g., resizing images):
For a list and description of each pre-processing setting, see the Pre-processing Settings reference guide.
After configuring your pre-processing settings, click Save to return to the Data Wizard.
5. Click Create. PerceptiLabs will generate a model and navigate you to the Modeling Tool.
Note: Upon completing the Data Wizard, PerceptiLabs will create a directory with the model.json file on disk, and the model will be listed on the Overview screen. Any time you save the model, PerceptiLabs will update the model's model.json file.
Congratulations on having created your first project and model in PerceptiLabs! Make sure you read Build Models to learn how to work with the model.
Last modified 13d ago
Copy link