Interactive Course

Preprocessing for Machine Learning in Python

In this course you'll learn how to get your cleaned data ready for modeling.

  • 4 hours
  • 20 Videos
  • 62 Exercises
  • 6,259 Participants
  • 4,700 XP

Loved by learners at thousands of top companies:

mls-grey.svg
deloitte-grey.svg
uber-grey.svg
roche-grey.svg
ikea-grey.svg
airbnb-grey.svg

Course Description

This course covers the basics of how and when to perform data preprocessing. This essential step in any machine learning project is when you get your data ready for modeling. Between importing and cleaning your data and fitting your machine learning model is when preprocessing comes into play. You'll learn how to standardize your data so that it's in the right form for your model, create new features to best leverage the information in your dataset, and select the best features to improve your model fit. Finally, you'll have some practice preprocessing by getting a dataset on UFO sightings ready for modeling.

  1. 1

    Introduction to Data Preprocessing

    Free

    In this chapter you'll learn exactly what it means to preprocess data. You'll take the first steps in any preprocessing journey, including exploring data types and dealing with missing data.

  2. Feature Engineering

    In this section you'll learn about feature engineering. You'll explore different ways to create new, more useful, features from the ones already in your dataset. You'll see how to encode, aggregate, and extract information from both numerical and textual features.

  3. Putting it all together

    Now that you've learned all about preprocessing you'll try these techniques out on a dataset that records information on UFO sightings.

  4. Standardizing Data

    This chapter is all about standardizing data. Often a model will make some assumptions about the distribution or scale of your features. Standardization is a way to make your data fit these assumptions and improve the algorithm's performance.

  5. Selecting features for modeling

    This chapter goes over a few different techniques for selecting the most important features from your dataset. You'll learn how to drop redundant features, work with text vectors, and reduce the number of features in your dataset using principal component analysis (PCA).

  1. 1

    Introduction to Data Preprocessing

    Free

    In this chapter you'll learn exactly what it means to preprocess data. You'll take the first steps in any preprocessing journey, including exploring data types and dealing with missing data.

  2. Standardizing Data

    This chapter is all about standardizing data. Often a model will make some assumptions about the distribution or scale of your features. Standardization is a way to make your data fit these assumptions and improve the algorithm's performance.

  3. Feature Engineering

    In this section you'll learn about feature engineering. You'll explore different ways to create new, more useful, features from the ones already in your dataset. You'll see how to encode, aggregate, and extract information from both numerical and textual features.

  4. Selecting features for modeling

    This chapter goes over a few different techniques for selecting the most important features from your dataset. You'll learn how to drop redundant features, work with text vectors, and reduce the number of features in your dataset using principal component analysis (PCA).

  5. Putting it all together

    Now that you've learned all about preprocessing you'll try these techniques out on a dataset that records information on UFO sightings.

What do other learners have to say?

Devon

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group

Louis

“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden

Harvard Business School

Ronbowers

“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Sarah Guido
Sarah Guido

Senior Data Scientist at InVision

Sarah is a Senior Data Scientist at InVision where she studies user collaboration through data. She is an accomplished conference speaker, conference track chair, and O'Reilly Media author, and is passionate about Python and machine learning. Sarah attended graduate school at the University of Michigan's School of Information.

See More
Icon Icon Icon professional info