Course Overview
This is a hands-on, project-based course designed to help you master the foundations for classification modeling and supervised machine learning in Python.
We’ll start by reviewing the Python data science workflow, discussing the primary goals & types of classification algorithms, and do a deep dive into the classification modeling steps we’ll be using throughout the course.
You’ll learn to perform exploratory data analysis (EDA), leverage feature engineering techniques like scaling, dummy variables, and binning, and prepare data for modeling by splitting it into train, test, and validation datasets.
From there, we’ll fit K-Nearest Neighbors & Logistic Regression models, and build an intuition for interpreting their coefficients and evaluating their performance using tools like confusion matrices and metrics like accuracy, precision, and recall. We’ll also cover techniques for modeling imbalanced data, including threshold tuning, sampling methods like oversampling & SMOTE, and adjusting class weights in the model cost function.
Throughout the course, you'll play the role of Data Scientist for the risk management department at Maven National Bank. Using the skills you learn throughout the course, you'll use Python to explore their data and build classification models to accurately determine which customers have high, medium, and low credit risk based on their profiles.
Last but not least, you'll learn to build and evaluate decision tree models for classification. You’ll fit, visualize, and fine-tune these models using Python, then apply your knowledge to more advanced ensemble models like random forests and gradient boosted machines.
COURSE OUTLINE:
Intro to Data Science in Python
Introduce the fields of data science and machine learning, review essential skills, and introduce each phase of the data science workflow
Classification 101
Review the basics of classification, including key terms, the types and goals of classification modeling, and the modeling workflow
Pre-Modeling Data Prep & EDA
Recap the data prep & EDA steps required to perform modeling, including key techniques to explore the target, features, and their relationships
K-Nearest Neighbors
Learn how the k-nearest neighbors (KNN) algorithm classifies data points and practice building KNN models in Python
Logistic Regression
Introduce logistic regression, learn the math behind the model, and practice fitting them and tuning regularization strength
Classification Metrics
Learn how and when to use several important metrics for evaluating classification models, such as precision, recall, F1 score, and ROC-AUC
Imbalanced Data
Understand the challenges of modeling imbalanced data and learn strategies for improving model performance in these scenarios
Decision Trees
Build and evaluate decision tree models, algorithms that look for the splits in your data that best separate your classes
Ensemble Models
Get familiar with the basics of ensemble models, then dive into specific models like random forests and gradient boosted machines
__________
Ready to dive in? Join today and get immediate, LIFETIME access to the following:
9.5 hours of high-quality video
18 homework assignments
9 quizzes
2 projects
Python Data Science: Classification ebook (250+ pages)
Downloadable project files & solutions
Expert support and Q&A forum
30-day Udemy satisfaction guarantee
If you're a business intelligence professional or aspiring data scientist looking for an introduction to the world of classification modeling with Python, this is the course for you.
Happy learning!
-Chris Bruehl (Data Science Expert & Lead Python Instructor, Maven Analytics)
__________
Looking for our full business intelligence stack? Search for "Maven Analytics" to browse our full course library, including Excel, Power BI, MySQL, Tableau and Machine Learning courses!
See why our courses are among the TOP-RATED on Udemy:
"Some of the BEST courses I've ever taken. I've studied several programming languages, Excel, VBA and web dev, and Maven is among the very best I've seen!" Russ C.
"This is my fourth course from Maven Analytics and my fourth 5-star review, so I'm running out of things to say. I wish Maven was in my life earlier!" Tatsiana M.
"Maven Analytics should become the new standard for all courses taught on Udemy!" Jonah M.
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 8 bài · 11 phút
- Course Introduction Học thử 2:00
- About This Series Học thử 0:42
- Course Structure & Outline Học thử 2:16
- READ ME: Important Notes for New Students Học thử
- DOWNLOAD: Course Resources Học thử
-
Introducing the Course Project 0:50
- Setting Expectations Học thử 1:27
-
Jupyter Installation & Launch 4:03
Chương 2 Intro to Data Science 10 bài · 19 phút
- What is Data Science? Học thử 2:44
-
The Data Science Skillset 1:46
-
What is Machine Learning? 2:43
-
Common Machine Learning Algorithms 1:59
-
Data Science Workflow 1:08
-
Data Prep & EDA Steps 3:42
-
Modeling Steps 2:54
-
Classification Modeling 0:37
-
Key Takeaways 1:17
-
Intro to Data Science
Chương 3 Classification 101 6 bài · 14 phút
-
Classification 101 5:45
-
Goals of Classification 1:50
-
Types of Classification 2:21
-
Classification Modeling Workflow 2:52
-
Key Takeaways 1:21
-
Classification 101
Chương 4 Data Prep & EDA 27 bài · 1 giờ 55 phút
-
EDA For Classification 3:30
-
Defining a Target 4:27
-
DEMO: Defining a Target 5:44
-
Exploring the Target 4:29
-
Exploring the Features 2:07
-
DEMO: Exploring the Features 5:08
-
ASSIGNMENT: Exploring the Target & Features 2:18
-
SOLUTION: Exploring the Target & Features 8:28
-
Correlation 5:14
-
PRO TIP: Correlation Matrix 2:28
-
DEMO: Correlation Matrix 4:59
-
Feature-Target Relationships 7:18
-
Feature-Feature Relationships 2:29
-
PRO TIP: Pair Plots 4:28
-
ASSIGNMENT: Exploring Relationships 1:33
-
SOLUTION: Exploring Relationships 7:53
-
Feature Engineering Overview 4:43
-
Numeric Feature Engineering 4:10
-
Dummy Variables 4:48
-
Binning Categories 3:34
-
DEMO: Feature Engineering 7:01
-
Data Splitting 5:28
-
Preparing Data for Modeling 2:05
-
ASSIGNMENT: Preparing the Data for Modeling 1:59
-
SOLUTION: Prepare the Data for Modeling 7:29
-
Key Takeaways 1:37
-
Data Prep & EDA
Chương 5 K-Nearest Neighbors 18 bài · 1 giờ 13 phút
-
K-Nearest Neighbors 5:44
-
The KNN Workflow 4:57
-
KNN in Python 2:16
-
Model Accuracy 3:55
-
Confusion Matrix 3:58
-
DEMO: Confusion Matrix 4:10
-
ASSIGNMENT: Fitting a Simple KNN Model 1:50
-
SOLUTION: Fitting a Simple KNN Model 3:42
-
Hyperparameter Tuning 3:39
-
Overfitting & Validation 7:07
-
DEMO: Hyperparameter Tuning 6:13
-
Hard vs. Soft Classification 4:54
-
DEMO: Probability vs. Event Rate 10:05
-
ASSIGNMENT: Tuning a KNN Model 1:16
-
SOLUTION: Tuning a KNN Model 3:33
-
Pros & Cons of KNN 4:17
-
Key Takeaways 1:12
-
K-Nearest Neighbors
Chương 6 Logistic Regression 22 bài · 1 giờ 11 phút
-
Logistic Regression 3:00
-
Logistic vs. Linear Regression 2:41
-
The Logistic Function 3:24
-
Likelihood 4:53
-
Multiple Logistic Regression 3:17
-
The Logistic Regression Workflow 0:52
-
Logistic Regression in Python 4:43
-
Interpreting Coefficients 3:41
-
ASSIGNMENT: Logistic Regression 1:35
-
SOLUTION: Logistic Regression 3:24
-
Feature Engineering & Selection 3:53
-
Regularization 5:57
-
Tuning a Regularized Model 3:51
-
DEMO: Regularized Logistic Regression 3:45
-
ASSIGNMENT: Regularized Logistic Regression 1:07
-
SOLUTION: Regularized Logistic Regression 4:28
-
Multi-class Logistic Regression 6:43
-
ASSIGNMENT: Multi-class Logistic Regression 1:22
-
SOLUTION: Multi-class Logistic Regression 3:52
-
Pros & Cons of Logistic Regression 2:33
-
Key Takeaways 1:40
-
Logistic Regression
Chương 7 Classification Metrics 21 bài · 1 giờ 11 phút
-
Classification Metrics 2:37
-
Accuracy, Precision & Recall 6:39
-
DEMO: Accuracy, Precision & Recall 5:24
-
PRO TIP: F1 Score 3:39
-
ASSIGNMENT: Model Metrics 0:57
-
SOLUTION: Model Metrics 4:06
-
Soft Classification 7:02
-
DEMO: Leveraging Soft Classification 3:28
-
PRO TIP: Precision-Recall & F1 Curves 3:44
-
DEMO: Plotting Precision-Recall & F1 Curves 4:09
-
The ROC Curve & AUC 3:15
-
DEMO: The ROC Curve & AUC 3:46
-
Classification Metrics Recap 2:22
-
ASSIGNMENT: Threshold Shifting 1:25
-
SOLUTION: Threshold Shifting 5:33
-
Multi-class Metrics 5:43
-
Multi-class Metrics in Python 1:36
-
ASSIGNMENT: Multi-class Metrics 1:00
-
SOLUTION: Multi-class Metrics 2:54
-
Key Takeaways 1:32
-
Classification Metrics
Chương 8 Imbalanced Data 20 bài · 53 phút
-
Imbalanced Data 4:03
-
Managing Imbalanced Data 4:03
-
Threshold Shifting 2:24
-
Sampling Strategies 1:49
-
Oversampling 1:30
-
Oversampling in Python 2:44
-
DEMO: Oversampling 4:32
-
SMOTE 1:10
-
SMOTE in Python 2:31
-
Undersampling 2:11
-
Undersampling in Python 5:14
-
ASSIGNMENT: Sampling Methods 2:19
-
SOLUTION: Sampling Methods 5:21
-
Changing Class Weights 2:51
-
DEMO: Changing Class Weights 2:55
-
ASSIGNMENT: Changing Class Weights 0:59
-
SOLUTION: Changing Class Weights 3:25
-
Imbalanced Data Recap 1:50
-
Key Takeaways 1:08
-
Imbalanced Data
Chương 9 Mid-Course Project 2 bài · 16 phút
-
Project Brief 4:33
-
Solution Walkthrough 11:11
Chương 10 Decision Trees 15 bài · 48 phút
-
Decision Trees 3:44
-
Entropy 5:45
-
Decision Tree Predictions 4:07
-
Decision Trees in Python 2:59
-
DEMO: Decision Trees 3:55
-
Feature Importance 4:58
-
ASSIGNMENT: Decision Trees 1:14
-
SOLUTION: Decision Trees 5:52
-
Hyperparameter Tuning for Decision Trees 4:17
-
DEMO: Hyperparameter Tuning 2:33
-
ASSIGNMENT: Tuned Decision Tree 0:48
-
SOLUTION: Tuned Decision Tree 4:11
-
Pros & Cons of Decision Trees 2:34
-
Key Takeaways 1:00
-
Decision Trees
Chương 11 Ensemble Models 23 bài · 1 giờ 9 phút
-
Ensemble Models 3:56
-
Simple Ensemble Models 2:15
-
DEMO: Simple Ensemble Models 3:32
-
ASSIGNMENT: Simple Ensemble Models 1:18
-
SOLUTION: Simple Ensemble Models 3:14
-
Random Forests 1:13
-
Fitting Random Forests in Python 4:10
-
Hyperparameter Tuning for Random Forests 4:32
-
PRO TIP: Random Search 5:08
-
Pros & Cons of Random Forests 1:37
-
ASSIGNMENT: Random Forests 1:07
-
SOLUTION: Random Forests 5:20
-
Gradient Boosting 2:11
-
Gradient Boosting in Python 2:12
-
Hyperparameter Tuning for Gradient Boosting 4:44
-
DEMO: Hyperparameter Tuning for Gradient Boosting 3:23
-
Pros & Cons of Gradient Boosting 1:39
-
ASSIGNMENT: Gradient Boosting 1:16
-
SOLUTION: Gradient Boosting 4:01
-
PRO TIP: SHAP Values 6:01
-
DEMO: SHAP Values 5:08
-
Key Takeaways 1:12
-
Ensemble Models
Chương 12 Classification Summary 4 bài · 18 phút
-
Recap: Classification Models & Workflow 2:48
-
Pros & Cons of Classification Models 3:00
-
DEMO: Production Pipeline & Deployment 11:14
-
Looking Ahead: Unsupervised Learning 0:58
Chương 13 Final Project 2 bài · 9 phút
-
Project Brief 2:33
-
Solution Walkthrough 6:42
Chương 14 Next Steps 1 bài
-
BONUS LESSON
Requirment
-
We strongly recommend taking our Data Prep & EDA and Regression courses before this one
-
Jupyter Notebooks (free download, we'll walk through the install)
-
Familiarity with base Python and Pandas is recommended, but not required
Outcomes
-
Master the foundations of supervised Machine Learning & classification modeling in Python
-
Perform exploratory data analysis on model features and targets
-
Apply feature engineering techniques and split the data into training, test and validation sets
-
Build and interpret k-nearest neighbors and logistic regression models using scikit-learn
-
Evaluate model performance using tools like confusion matrices and metrics like accuracy, precision, recall, and F1
-
Learn techniques for modeling imbalanced data, including threshold tuning, sampling methods, and adjusting class weights
-
Build, tune, and evaluate decision tree models for classification, including advanced ensemble models like random forests and gradient boosted machines
0 Student
14 Courses
0 review