Data Preparation

How to prepare the dataset

In this lesson, we’ll explore how to load the dataset and prepare it for training an ML model using its default hyperparameters. We’ll then apply the hyperparameter techniques to improve performance.

What will we learn?

We’ll learn to:

  • Load the dataset.

  • Clean the dataset.

  • Perform feature engineering techniques to preprocess the dataset.

Import important packages

First, we’ll import important Python packages that will do the following tasks:

  • Load the dataset.

  • Clean the dataset.

  • Process the dataset using feature engineering techniques.

Get hands-on with 1200+ tech skills courses.