Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Data Science Projects with Python
Rating: 4.3 out of 5(19 ratings)
160 students

Data Science Projects with Python

A case study approach to successful data science projects using Python, pandas, and scikit-learn
Last updated 7/2020
English

What you'll learn

  • Install the required packages to set up a data science coding environment
  • Load data into a Jupyter Notebook running Python
  • Use Matplotlib to create data visualizations
  • Fit a model using scikit-learn
  • Use lasso and ridge regression to reduce overfitting
  • Fit and tune a random forest model and compare performance with logistic regression
  • Create visuals using the output of the Jupyter Notebook

Course content

6 sections63 lectures6h 37m total length
  • Course Overview2:53

    Let’s begin the course with the content coverage.

  • Installation and Setup4:40

    Before you start this course, make sure you have installed the Anaconda environment as we will be using the Anaconda distribution of Python.

  • Lesson Overview2:21

    Let us begin with the first lesson and understand what we are going to cover in our learning journey.

  • Python and the Anaconda Package Management System11:24

    In this video, we will use the Python programming language. Python is a top language for data science and is one of the fastest growing programming languages. A commonly cited reason for Python's popularity is that it is easy to learn. If you have Python experience, that's great; however, if you have experience with other languages, such as C, Matlab, or R, you shouldn't have much trouble using Python. You should be familiar with the general constructs of computer programming to get the most out of this course. Examples of such constructs are for loops and if statements that guide the control flow of a program. No matter what language you have used, you are likely familiar with these constructs, which you will also find in Python. Here are the topics that we will cover now:

    • Indexing and the Slice Operator

    • Examining Anaconda and Getting Familiar with Python

  • Different Types of Data Science Problems3:35

    Level missingMuch of your time as a data scientist is likely to be spent wrangling data: figuring out how to get it, getting it, examining it, making sure it's correct and complete, and joining it with other types of data. pandas will facilitate this process for you. However, if you aspire to be a machine learning data scientist, you will need to master the art and science of predictive modeling. This means using a mathematical model, or idealized mathematical formulation, to learn the relationships within the data, in the hope of making accurate and useful predictions when new data comes in. Here are the topics that we will cover now:

    • Regression Problem

    • Classification Problem

  • Loading the Case Study Data with Jupyter and pandas7:33

    Now it's time to take a first look at the data we will use in our case study. We won’t do anything in this video other than ensure that we can load the data into a Jupyter Notebook correctly. Examining the data, and understanding the problem you will solve with it, will come later. Here are the topics that we will cover now:

    • What is a Jupyter Notebook?

    • pandas

    • DataFrame

    • Loading the Case Study Data in a Jupyter Notebook

  • Getting Familiar with Data and Performing Data Cleaning9:57

    Let us get a bit more familiar with data and performing data cleaning. Here are the topics that we will cover now:

    • The Business Problem

    • Goal

    • Data Exploration Steps

    • Verifying Basic Data Integrity

  • Boolean Masks13:10

    To help clean the case study data, we introduce the concept of a logical mask, also known as a Boolean mask. A logical mask is a way to filter an array, or series, by some condition. For example, we can use the "is equal to" operator in Python, ==, to find all locations of an array that contain a certain value. Other comparisons, such as "greater than" (>), "less than" (<), "greater than or equal to" (>=), and "less than or equal to" (<=), can be used similarly. The output of such a comparison is an array or series of True/False values, also known as Boolean values. Here are the topics that we will cover now:

    • Continuing Verification of Data Integrity

    • Exploring and Cleaning the Data

  • Data Quality Assurance and Exploration10:08

    So far, we remedied two data quality issues just by asking basic questions or by looking at the .info() summary. Let's now look at the first few columns. Before we get to the historical bill payments, we have the credit limits of the accounts of LIMIT_BAL, and the demographic features SEX, EDUCATION, MARRIAGE, and AGE. Our business partner has reached out to us, to let us know that gender should not be used to predict credit-worthiness, as this is unethical by their standards. So, we keep this in mind for future reference. Now we explore the rest of these columns, making any corrections that are necessary. Here are the topics that we will cover now:

    • Histograms

    • Exploring the Credit Limit and Demographic Features

    • Deep Dive: Categorical Features

    • What are the Implications of this Mapping?

    • What if a Model Seeks to Find a Straight-line Relationship between the Features and Response?

  • Deep Dive: Categorical Features7:51

    Machine learning algorithms only work with numbers. If your data contains text features, for example, these would require transformation to numbers in some way. We learned above that the data for our case study is, in fact, entirely numerical. However, it's worth thinking about how it got to be that way. Consider the EDUCATION feature.

  • Exploring the Financial History Features in the Dataset7:45

    We are ready to explore the rest of the features in the case study dataset. We will first practice loading a DataFrame from the CSV file we saved at the end of the last video.

  • Lesson Summary3:45

    Summarize your learning from this lesson.

  • Actitvity 1 : Exploring Remaining Financial Features in the Dataset1:22
  • Solution 1 : Exploring Remaining Financial Features in the Dataset5:06
  • Test Your Knowledge

Requirements

  • Basic knowledge of Python and data analytics is a must. Familiarity with mathematical concepts such as algebra and basic statistics will be useful.

Description

Data Science Projects with Python is designed to give you practical guidance on industry-standard data analysis and machine learning tools in Python, with the help of realistic data. The course will help you understand how you can use pandas and Matplotlib to critically examine a dataset with summary statistics and graphs and extract the insights you seek to derive. You will continue to build on your knowledge as you learn how to prepare data and feed it to machine learning algorithms, such as regularized logistic regression and random forest, using the scikit-learn package. You’ll discover how to tune the algorithms to provide the best predictions on new and, unseen data.

As you delve into later chapters, you’ll be able to understand the working and output of these algorithms and gain insight into not only the predictive capabilities of the models but also their reasons for making these predictions.

About the Author

Stephen Klosterman is a machine learning data scientist at CVS Health. He enjoys helping to frame problems in a data science context and delivering machine learning solutions that business stakeholders understand and value. His education includes a Ph.D. in biology from Harvard University, where he was an assistant teacher of the data science course.

Barbora Stetinova works in an Automotive industry earned experience in data science and machine learning, leading small team, leading strategical projects and in controlling topics for 13 years. Since Sept 2018 she is a member of IT department participating on the Data science implementation in an automotive company.

In parallel, since Aug 2017, she is also engaged in strategical group projects for the automotive company and with side contract as an analytical external consultant for different industries (retail, sensorics, building) at Leadership Synergy Community. She is also a data science trainer for Elderberry data, specialized in MS Excel and Knime analytics platform in both face-to-face and elearning forms (available on Udemy).

Who this course is for:

  • If you are a data analyst, data scientist, or a business analyst who wants to get started with using Python and machine learning techniques to analyze data and predict outcomes, this book is for you.