Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Hands-On Machine Learning: Python Project Showcase
Rating: 4.6 out of 5(5 ratings)
4,365 students

Hands-On Machine Learning: Python Project Showcase

Dive into practical Machine Learning with Python, featuring real-world projects and case studies for hands-on mastery
Last updated 3/2024
English
English [Auto],

What you'll learn

  • Understanding Machine Learning Case Studies: Learn the practical application of machine learning through real-world case studies.
  • Environment Setup for Machine Learning: Get hands-on experience in setting up the necessary environment for implementing machine learning algorithms
  • Linear Regression Techniques: Understand and implement linear regression models, starting with the problem statement and progressing to regressions.
  • Robust Regression and Logistic Regression: Explore robust regression techniques and delve into logistic regression for binary classification problems.
  • k-Means Clustering: Gain insights into unsupervised learning with k-Means clustering, including creating scattered plots and calculating Euclidean distances.
  • Time Series Modeling: Learn to model and analyze time series data, exploring applications like Bitcoin price prediction.
  • Classification Algorithms: Master various classification techniques, including logistic regression, decision trees, k-nearest neighbors, linear discriminant ana
  • Building Predictive Models: Understand the process of defining problem statements, preparing and cleaning data, and creating predictive models.
  • Feature Engineering: Gain proficiency in feature engineering techniques, transforming variables, and preparing data for machine learning models.
  • Visualization Techniques: Learn to visualize data using confusion matrices, AUC curves, SNS plots, and other visualization methods.
  • Application in Finance: Apply machine learning to financial scenarios, exploring payment delays, standing credit, defaulting, and other relevant financials
  • Throughout the course, participants will acquire practical skills and knowledge to tackle real-world machine learning challenges.

Course content

1 section41 lectures4h 37m total length
  • Introduction to Machine Learning Case Studies3:59

    Explore real-world machine learning case studies across regression, time series, clustering, and classification. Apply statistics, probability, and data visualization to build practical data science solutions.

  • Environmental SetUp7:56

    Set up the deep learning environment by installing Python and the Anaconda framework, launching Jupyter notebooks in the browser, and validating versions across platforms.

  • Problem Statement for Linear Regression4:22

    Analyze the problem statement of linear regression using datasets such as R&D spend and salary data, and apply y = a x + b to model profit and salary.

  • Starting with Normal linear Regression11:24

    Launch a jupyter notebook to run normal linear regression on salary data csv, using years of experience to predict salary, with train/test split and a visual regression line.

  • Polynomial Regression11:48

    Explore polynomial regression using the position salaries.csv dataset, implementing polynomial features with degrees 2 and 3 alongside linear regression, and visualize the results.

  • Backward Elimination7:43

    Apply backward elimination on a 50 startups dataset, select profit and spending features (R&D, administration, marketing), encode state with get dummies, and visualize a linear regression.

  • Robust Regression10:49

    Explore robust regression in a Jupyter notebook by generating x and y data with outliers, visualizing with matplotlib, and comparing linear regression, OLS, and Theil-Sen regressor using NumPy and scikit-learn.

  • Logistic Regression7:42

    Compare linear and logistic regression, highlighting that logistic regression targets discrete outcomes and outputs probabilities, then implement logistic regression on a Titanic-like dataset using pandas, numpy, and visualization tools.

  • Logistic Regression Continue5:48

    Visualize logistic regression through count plots of survived by pclass and sex, analyze age with distance plot, explore fare with histograms, and display heat map before introducing k-means clustering.

  • Introduction to k-Means Clustering2:18

    Explore k-means clustering in unsupervised learning using two datasets, including salary and turnover data, to identify similar groups and address two major clustering problem statements.

  • Creating Scattered Plots7:28
  • Euclidean Distance Calculator11:55

    Learn to implement a Euclidean distance calculator and apply it to k-means clustering by computing distances between data points and random centroids, updating centroids, and visualizing results with scatter plots.

  • Printing Centroid Values4:22

    Display k-means centroid values by setting the number of clusters, importing kmeans, and printing the resulting cluster centers and labels from a sample dataset.

  • Analysing Face Detection1:01

    Run the Python execution of the dataset to analyze face detection, observe the dataset folder with 100 images, and see the recognized faces as you advance to the next module.

  • Problem Statement3:37

    Analyze the problem statement for building a time series from airline passenger data, explore 1949–1960 monthly trends, and prepare, train, and evaluate a keras-tensorflow model with plotting.

  • Creating Model of time Series8:59

    Develop a time series model using an LSTM in Python, importing NumPy, pandas, and Keras, applying min-max scaling with sklearn preprocessing, creating look-back datasets, and evaluating with mean squared error.

  • Training and Testing Data11:54

    Learn to build a time series model by normalizing data with min-max scaling and splitting into train and test sets. Configure a stateful lstm with lookback for predictions.

  • Analysing Output8:57

    Develop and evaluate invert predictions using inverse transforms, compute RMSE for train and test, and plot time series forecasts with lookback features from an lstm model on airline passenger data.

  • Time Series Bitcoin Data10:18

    Analyze a Bitcoin time series for the first week of August 2017 by plotting the closing price in USD, using NumPy, pandas, matplotlib, and seaborn to visualize the date-indexed data.

  • Classification4:43

    Classify fruits data set from fruits with colors dot txt csv, using mass, width, height, and color score, then build train and test sets and apply logistic regression in Python.

  • Fruit type Distribution11:15

    Explore fruit type distribution through group-by counts and seaborn plots, including count plots, box plots, histograms, and scatter matrices to visualize mass, height, and color score.

  • Create Training and Test Sets3:27

    Create training and testing data with train_test_split, split into x_train and x_test using random_state=0, scale with min max scaler via fit_transform on x_train and transform on x_test, evaluate logistic regression.

  • Building Logistic Regression4:54

    Explore logistic regression using scikit-learn, fit the model on training data, and evaluate accuracy on both training and testing sets, then preview a move to decision trees.

  • Building Decision Tree5:06

    Train and compare decision tree classifiers on fruit subtype data, adjust max_depth, and report training and testing accuracy.

  • K-Nearest Neighbors4:39

    Demonstrates building a k nearest neighbors classifier, importing KNeighborsClassifier, fitting on training data, and evaluating accuracy on training and testing sets using score outputs.

  • Linear Discriminant Analysis5:04

    Apply linear discriminant analysis in Python with sklearn to fit training data, evaluate accuracy on training and testing data, and compare with logistic regression in machine learning case studies.

  • Gaussian Naive Bayes4:13

    Apply Gaussian Naive Bayes using sklearn to train on x_train and y_train, evaluate 0.86 training accuracy and 0.67 test accuracy, and prepare for plotting the decision boundary.

  • Plot the Decision Boundary6:50

    Plot the decision boundary of a k-NN classifier on a fruit dataset using mass, height, and color score, with train-test split, color maps, and a mesh grid.

  • Plot the Decision Boundary Continue6:36

    Plot decision boundary by building a NumPy mesh grid for x and y values, predicting with a decision tree, and rendering a mesh that distinguishes apple, mandarin, orange, and lemon.

  • Defining the Problem Statement5:26

    Analyze credit card defaulters from an xlsx dataset renamed default_credit_card, examining limit_balance, sex, education, payout, and bill amounts.

  • Data Preparation5:40

    Prepare a Python dataset from the default credit card Excel file by creating a data directory, downloading the UCI data, and reading it with pandas for initial inspection.

  • Clean up6:27

    Clean up a 30,000-row, 25-column dataset by preparing explanatory variables and a categorical target—default payment next month—for subsequent payment delay analysis.

  • Payment Delays6:59

    Analyze payment delays using a regular expression pattern to identify pay status entries, and visualize the distribution of delays over the past six months with pandas and matplotlib plots.

  • Standing Credit4:01

    Explore standing credit by examining past month payments, bill amounts, and pay values, generate bill columns with pattern matching, and compare minimum and maximum credits to illuminate payment behavior.

  • Payments in the Previous Months7:06

    We explore calculating and plotting payments in the previous months for credit card users. Build pay status columns, limit balance, and use group by with stats and a log-scale axis.

  • Explore Defaulting8:19

    Explore defaulting by visualizing defaulters with a bar graph, group by target, and analyze gender, marriage, and age categories using pd.cut and rename categories.

  • Absolute Statistics9:47

    Explore absolute statistical methods through hands-on visual analysis of a credit card case study, building demographic bar charts by target, sex, marriage, and age category.

  • Starting with Feature Engineering6:28

    Explore feature engineering by creating and transforming dataset columns, applying patterns and distributions, and visualizing bill amount features for a credit card case study.

  • From Variables to Train6:24

    Create training and testing matrices from 25 attributes for logistic regression, using train_test_split and Patsy formulas, assembling features like sex, marriage, education, age, credit limit, and pay metrics.

  • Visualization-Confusion Matrices and AUC Curves9:54

    Explore visualizations for model evaluation by building confusion matrices and ROC AUC curves alongside logistic and linear regression, with practical plotting workflows.

  • Creating SNS Plot1:53

    Learn to create seaborn pair plots to explore correlations in a dataframe by selecting column ranges and setting kind to scatter, using the credit card dataset as an example.

Requirements

  • No prior knowledge of machine learning required
  • Basic knowledge of Python

Description

Welcome to an immersive journey into the world of machine learning through practical projects and case studies. This course is designed to bridge the gap between theoretical knowledge and real-world applications, providing participants with hands-on experience in solving machine learning challenges using Python.

In this course, you will not only learn the fundamental concepts of machine learning but also apply them to diverse case studies, covering topics such as linear regression, clustering, time series analysis, and classification techniques. The hands-on nature of the course ensures that you gain practical skills in setting up environments, implementing algorithms, and interpreting results.

Whether you're a beginner looking to grasp the basics or an experienced practitioner aiming to enhance your practical skills, this course offers a comprehensive learning experience. Get ready to explore, code, and gain valuable insights into the application of machine learning through engaging projects and case studies. Let's embark on this journey together and unlock the potential of machine learning with Python.

Lecture 1: Introduction to Machine Learning Case Studies

This section initiates the course with an insightful overview of machine learning case studies. Lecture 1 provides a glimpse into the diverse applications of machine learning, setting the stage for the hands-on projects and case studies covered in subsequent lectures.

Lecture 2: Environmental SetUp

Get ready to dive into practical implementations. Lecture 2 guides participants through the environmental setup, ensuring a seamless experience for executing machine learning projects. This lecture covers essential tools, libraries, and configurations needed for the hands-on sessions.

Lecture 3-8: Linear Regression Techniques

Delve into linear regression methodologies with a focus on problem statements and hands-on implementations. Lectures 3-8 cover normal linear regression, polynomial regression, backward elimination, robust regression, and logistic regression. Understand the nuances of each technique and its application through practical examples.

Lecture 10-15: k-Means Clustering and Face Detection

Explore the intriguing world of clustering with k-Means. Lectures 10-15 guide you through creating scattered plots, calculating Euclidean distances, printing centroid values, and applying k-Means to analyze face detection challenges.

Lecture 16-19: Time Series Analysis

Uncover the secrets of time series modeling. Lectures 16-19 walk you through the process of creating time series models, training and testing data, and analyzing outputs using real-world examples like Bitcoin data.

Lecture 20-29: Classification Techniques

Embark on a journey through classification techniques. Lectures 20-29 cover fruit type distribution, logistic regression, decision tree, k-Nearest Neighbors, linear discriminant analysis, Gaussian Naive Bayes, and plotting decision boundaries. Gain a comprehensive understanding of classifying data using different algorithms.

Lecture 30-41: Default Prediction Case Study

Apply your skills to a real-world scenario of predicting defaults. Lectures 30-41 guide you through defining the problem statement, data preparation, feature engineering, variable exploration, and visualization using confusion matrices and AUC curves.

This course provides a holistic approach to machine learning, combining theoretical concepts with practical case studies, enabling participants to master the implementation of various algorithms in Python.

Who this course is for:

  • Data Enthusiasts and Aspiring Data Scientists: Individuals looking to delve into practical applications of machine learning with a focus on case studies and hands-on projects.
  • Python Programmers and Developers: Professionals proficient in Python who want to expand their skill set to include machine learning and gain practical experience in implementing algorithms.
  • Finance Professionals: Those in the finance sector interested in leveraging machine learning for data analysis, risk assessment, and predictive modeling.
  • Business Analysts: Professionals seeking to enhance their analytical capabilities through machine learning techniques for better decision-making and insights.
  • Students and Researchers: Individuals pursuing studies or research in data science, machine learning, or related fields looking to strengthen their practical skills.
  • Anyone Seeking Practical Machine Learning Experience: The course caters to a broad audience eager to gain hands-on experience in solving real-world problems using machine learning tools and methodologies.