Machine Learning with Python for Everyone Part 1: Learning Foundations, 2nd Edition

Video description

4+ Hours of Video Instruction


Code-along sessions move you from introductory machine learning concepts to concrete code.


Machine learning is moving from futuristic AI projects to data analysis on your desk. You need to go beyond nodding along in discussion to coding machine learning tasks. These videos skew away from heavy mathematics and focus on showing you how to turn introductory machine learning concepts into concrete code using Python, scikit-learn, and friends. Our focus is on stories, graphics and code that build your understanding of machine learning; we minimize pure mathematics.

You learn how to load and explore simple datasets; build, train, and perform basic learning evaluation for a few models; compare the resource usage of different models in code snippets and scripts; and briefly explore some of the software and mathematics behind these techniques.


Skill Level

  • Beginner

Learn How To

  • Build and apply simple classification and regression models
  • Evaluate learning performance with train-test splits
  • Evaluate learning performance with metrics tailored to classification and regression
  • Evaluate the resource usage of your learning models

Who Should Take This Course


If you are becoming familiar with the basic concepts of machine learning and you want an experienced hand to help you turn those concepts into running code, this course is for you. If you have some coding knowledge but want to see how Python can drive basic machine learning models and practice, this course is for you.


Course Requirements

  • A basic understanding of programming in Python (variables, basic control flow, simple scripts)

Lesson Descriptions


Lesson 1: Software Background
In Lesson 1, Mark discusses the environment used to run the code and several of the fundamental software packages used throughout the lessons. Mark discusses scikit-learn, seaborn, and pandas–high-level packages that have many powerful features. Mark also introduces numpy and matplotlib–more foundational packages.


Lesson 2: Mathematical Background
In Lesson 2, Mark continues the discussion of background and foundations. He covers several important mathematical ideas: probability, linear combinations, and geometry. He approaches these concepts from a practical and computational viewpoint. He introduces them but shies away from theory. He also spends a few minutes talking about technical issues that affect how you approach mathematics on the computer.


Lesson 3: Beginning Classification (Part I)
In Lesson 3, Mark gets your attention squarely focused on building, training, and evaluating simple classification models. He starts by introducing you to a practice dataset. Along the way, he covers train-test splits, accuracy, and two models: k-nearest neighbors and naive Bayes.


Lesson 4: Beginning Classification (Part II)
In Lesson 4, Mark continues the discussion of classification and focuses on two ways to evaluate classifiers. He shows you how to evaluate learning performance with accuracy and how to evaluate resource utilization for memory and time. Mark shows you how to do this both within Jupyter notebooks and also in standalone Python scripts.


Lesson 5: Beginning Regression (Part I)
In Lesson 5, Mark discusses and demonstrates building, training, and basic evaluation of simple regression models. He starts with a practice dataset. Along the way, he discusses different ways of measuring the center of numerical data, and then he discusses two models: k-nearest neighbors and linear regression.



Lesson 6: Beginning Regression (Part II)
Lesson 6 continues regression. Mark explains how we can pick good models from a basket of possible models. Then, he covers how to evaluate learning and resource consumption of regressors in notebook and standalone scenarios.

Table of contents

  1. Introduction
    1. Machine Learning with Python for Everyone: Introduction
  2. Lesson 1: Software Background
    1. Topics
    2. 1.1 What Is Machine Learning?
    3. 1.2 Building Learning Systems
    4. 1.3 Environment Installation
    5. 1.4 Three Things You Can do with NumPy and matplotlib
    6. 1.5 Three Things You Can do with Pandas
    7. 1.6 Three Things You Can do with scikit-learn and Friends
    8. 1.7 Getting Help
  3. Lesson 2: Mathematical Background
    1. Topics
    2. 2.1 Probability
    3. 2.2 Distributions
    4. 2.3 Linear Combinations
    5. 2.4 Geometry, Part 1
    6. 2.5 Geometry, Part 2
    7. 2.6 Geometry, Part 3
    8. 2.7 When Computers and Math Meet
  4. Lesson 3: Beginning Classification (Part I)
    1. Topics
    2. 3.1 Setup and the Iris Dataset
    3. 3.2 Classification, Accuracy, and Splitting
    4. 3.3 Accuracy
    5. 3.4 Introduction to Nearest Neighbors and Naive Bayes
    6. 3.5 k-Nearest Neighbors
    7. 3.6 Train-Test Split and Nearest Neighbors (Part 1)
    8. 3.7 Train-Test Split and Nearest Neighbors (Part 2)
    9. 3.8 Naive Bayes
  5. Lesson 4: Beginning Classification (Part II)
    1. Topics
    2. 4.1 Learning Evaluation, Part 1
    3. 4.2 Learning Evaluation, Part 2
    4. 4.3 Resource Evaluation: Time
    5. 4.4 Resource Evaluation: Memory
    6. 4.5 Scripts
  6. Lesson 5: Beginning Regression (Part I)
    1. Topics
    2. 5.1 Setup and the Diabetes Dataset
    3. 5.2 Introducing Regression
    4. 5.3 Measures of Center
    5. 5.4 Introducing Linear Regression and NN Regression
    6. 5.5 k-Nearest Neighbors for Regression
    7. 5.6 Linear Regression, Part 1
    8. 5.7 Linear Regression, Part 2
  7. Lesson 6: Beginning Regression (Part II)
    1. Topics
    2. 6.1 Optimization, Part 1
    3. 6.2 Optimization, Part 2
    4. 6.3 Optimization, Part 3
    5. 6.4 Learning Performance
    6. 6.5 Resource Evaluation
  8. Summary
    1. Machine Learning with Python for Everyone: Summary

Product information

  • Title: Machine Learning with Python for Everyone Part 1: Learning Foundations, 2nd Edition
  • Author(s): Mark Fenner
  • Release date: August 2022
  • Publisher(s): Pearson
  • ISBN: 0137932960