EdX

Python Fundamentals for MLOps (edX)

Python Fundamentals for MLOps (edX)

Master Python for Seamless MLOps: From Fundamentals to Automation and Workflow Efficiency. Master Python for efficient Machine Learning Operations by building strong programming foundations, creating MLOps automation, and gaining applicable experience.

Class Deals by MOOC List - Click here and see EdX's Active Discounts, Deals, and Promo Codes.

  • Fundamentals of Python programming: Data types, functions, modules
  • Testing techniques
  • Data manipulation and analysis
  • Work with datasets using Pandas
  • Leveraging NumPy for data science
  • Hands-on coding exercises
  • Apply Python in MLOps workflows

This comprehensive course covers the essential Python skills for succeeding in MLOps roles. Through hands-on exercises, you'll learn:

  • Core Python programming concepts
  • Data manipulation and analysis
  • Containerization of ML models
  • GitHub Actions for automation

Whether you're new to MLOps or an experienced professional, this course equips you with the foundational Python skills to excel in machine learning operations roles.
This course is part of the Machine Learning Operations Professional Certificate.

What you'll learn

  • Interact with APIs and SDKs to build command-line tools and HTTP APIs to solve and automate Machine Learning problems.
  • Work with logic in Python, assigning variables and using different data structures.
  • Write, run and debug tests using Pytest to validate your work.

Syllabus

Introduction to Python
• Module 1 (9 hours to complete)
◦ Meet your Course Instructor: Alfredo Deza (video, 1 minute)
◦ Lesson Introduction: Variables and Types (video, 0 minutes)
◦ Variables and Assignments (video, 5 minutes)
◦ Working with Different Data Types (video, 7 minutes)
◦ Conditionals and Evaluations (video, 7 minutes)
◦ Catching and Handling Exceptions (video, 6 minutes)
◦ Lesson Recap: Variables and Types (video, 0 minutes)
◦ Lesson Introduction: Python Data Structures (video, 0 minutes)
◦ Introduction to Lists (video, 3 minutes)
◦ Creating and Iterating Over Lists (video, 3 minutes)
◦ Introduction to Dictionaries (video, 3 minutes)
◦ Creating and Iterating Over Dictionaries (video, 4 minutes)
◦ Other Data Structures: Tuples and Sets (video, 4 minutes)
◦ Lesson Recap: Python Data Structures (video, 0 minutes)
◦ Lesson Introduction: Adding and Extracting Data (video, 0 minutes)
◦ Adding Data to Lists (video, 3 minutes)
◦ Extracting Data from Lists (video, 4 minutes)
◦ Extracting Data from Dictionaries (video, 4 minutes)
◦ Lesson Recap: Adding and Extracting Data (video, 0 minutes)
◦ Connect with your instructor (reading, 10 minutes)
◦ Meet your Supporting Instructor: Noah Gift (reading, 10 minutes)
◦ Course Structure and Discussion Etiquette (reading, 10 minutes)
◦ Getting Started and Course Best Practices (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Minimal Python book: Storing Data (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Quiz-Variables and Types (quiz, 30 minutes)
◦ Quiz-Introduction to Python Data Structures (quiz, 30 minutes)
◦ Quiz-Adding and Extracting Data from Data Structures (quiz, 30 minutes)
◦ Week 1-Final Graded Quiz-Python Basics (quiz, 30 minutes)
◦ Meet and Greet (optional) (discussion prompt, 10 minutes)
◦ Let Us Know if Something's Not Working (discussion prompt, 10 minutes)
◦ Variables and Types (ungraded lab, 60 minutes)
◦ Data Structures (ungraded lab, 60 minutes)
◦ Adding and Extracting Data (ungraded lab, 60 minutes)
◦ Sandbox Week One (ungraded lab, 60 minutes)

Python Functions and Classes
• Module 2 (10 hours to complete)
◦ Lesson Introduction: Working with Functions (video, 0 minutes)
◦ Function Structure and Values (video, 3 minutes)
◦ Function Arguments (video, 5 minutes)
◦ Variable and Keyword Arguments (video, 5 minutes)
◦ Lesson Recap: Working with Functions (video, 0 minutes)
◦ Lesson Introduction: Building Classes and Methods (video, 0 minutes)
◦ Introduction to Classes (video, 7 minutes)
◦ Using a Constructor (video, 6 minutes)
◦ Adding Methods (video, 4 minutes)
◦ Class Inheritance (video, 5 minutes)
◦ Lesson Recap: Building Classes and Methods (video, 0 minutes)
◦ Lesson Introduction: Modules and Advanced Usages (video, 0 minutes)
◦ Introduction to Python Modules (video, 3 minutes)
◦ Working with Imports (video, 4 minutes)
◦ Working with Python Scripts (video, 4 minutes)
◦ Virtual Environments and Dependencies (video, 5 minutes)
◦ Lesson Recap: Modules and Advanced Usages (video, 0 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Minimal Python book: Create functions (reading, 10 minutes)
◦ Generators (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Inheritance (reading, 10 minutes)
◦ Ungraded Lab Sandbox Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Python for Beginners Learning Path (reading, 10 minutes)
◦ Understanding 3rd Party Packaging (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Quiz-Functions (quiz, 30 minutes)
◦ Quiz-Ungraded Lab Python Classes Sandbox (quiz, 30 minutes)
◦ Quiz-Building Classes and Methods (quiz, 30 minutes)
◦ Quiz-Modules (quiz, 30 minutes)
◦ Python Functions and Classes (quiz, 30 minutes)
◦ Functions (ungraded lab, 60 minutes)
◦ Python Functions Sandbox (ungraded lab, 60 minutes)
◦ Python Classes (ungraded lab, 60 minutes)
◦ Python Classes Sandbox (ungraded lab, 60 minutes)
◦ Python Modules (ungraded lab, 60 minutes)

Testing in Python
• Module 3 (7 hours to complete)
◦ Lesson Introduction: Writing and Executing Tests (video, 0 minutes)
◦ Motivations for Testing in Python (video, 5 minutes)
◦ Testing Conventions (video, 8 minutes)
◦ Testing with pytest (video, 6 minutes)
◦ Lesson Recap: Writing and Executing Tests (video, 0 minutes)
◦ Lesson Introduction: Writing Useful Tests (video, 0 minutes)
◦ Using Plan Asserts in pytest (video, 5 minutes)
◦ Writing Test Classes (video, 4 minutes)
◦ Test Classes vs. Test Functions (video, 3 minutes)
◦ Parameterizing Tests (video, 7 minutes)
◦ Lesson Recap: Writing Useful Tests (video, 0 minutes)
◦ Lesson Introduction: Testing Failures (video, 0 minutes)
◦ Test Failure Output (video, 5 minutes)
◦ Python Debugging with PDB (video, 5 minutes)
◦ Other pytest Runner Options (video, 3 minutes)
◦ pytest Fixtures (video, 6 minutes)
◦ Lesson Recap: Testing Failures (video, 0 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Quiz-Introduction to Testing (quiz, 30 minutes)
◦ Quiz: Writing Useful Tests (quiz, 30 minutes)
◦ Quiz- Testing Failures (quiz, 30 minutes)
◦ Python Testing (quiz, 30 minutes)
◦ Testing Conventions (ungraded lab, 60 minutes)
◦ Testing with Pytest (ungraded lab, 60 minutes)
◦ Test Failures (ungraded lab, 60 minutes)

Introduction to Pandas and NumPy
• Module 4 (7 hours to complete)
◦ Lesson Introduction: Basic Pandas Usage (video, 0 minutes)
◦ Introduction to Pandas (video, 5 minutes)
◦ Loading Data into Pandas (video, 5 minutes)
◦ Writing Data from Pandas DataFrames (video, 3 minutes)
◦ Exploratory Analysis with Pandas (video, 6 minutes)
◦ Lesson Recap: Basic Pandas Usage (video, 0 minutes)
◦ Lesson Introduction: Working with DataFrames (video, 0 minutes)
◦ Common DataFrame Operations (video, 7 minutes)
◦ Manipulating Text in DataFrames (video, 4 minutes)
◦ Applying Functions with Pandas (video, 3 minutes)
◦ Visualizing Data with Pandas (video, 4 minutes)
◦ Lesson Recap: Working with DataFrames (video, 0 minutes)
◦ Lesson Introduction: NumPy Basics (video, 0 minutes)
◦ Introduction to NumPy Arrays (video, 5 minutes)
◦ Common NumPy Array Operations (video, 3 minutes)
◦ More NumPy Array Operations (video, 6 minutes)
◦ Lesson Recap: NumPy Basics (video, 0 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Quiz - Basic Pandas Usage (quiz, 30 minutes)
◦ Quiz-Working with DataFrames (quiz, 30 minutes)
◦ Quiz-NumPy Basics (quiz, 30 minutes)
◦ Pandas and NumPy (quiz, 30 minutes)
◦ Introduction to Pandas (ungraded lab, 60 minutes)
◦ Pandas DataFrames (ungraded lab, 60 minutes)
◦ NumPy (ungraded lab, 60 minutes)

Applied Python for MLOps
• Module 5 (9 hours to complete)
◦ Lesson Introduction: APIs and SDKs (video, 0 minutes)
◦ Installing Azure Command-Line Interface (CLI) (video, 6 minutes)
◦ AzureML Studio with Python (video, 6 minutes)
◦ Hugging Face Transformers (video, 6 minutes)
◦ Hugging Face Datasets (video, 8 minutes)
◦ Azure Open Datasets (video, 6 minutes)
◦ Lesson Recap: APIs and SDKs (video, 0 minutes)
◦ Lesson Introduction: Automation with Command-Line Tools (video, 0 minutes)
◦ Creating a Single File Script (video, 4 minutes)
◦ Using the ArgParse Framework (video, 6 minutes)
◦ Declaring Dependencies (video, 3 minutes)
◦ Using the Click Framework (video, 7 minutes)
◦ Packaging your Project (video, 4 minutes)
◦ Solving a Machine Learning Problem with a CLI Tool (video, 8 minutes)
◦ Lesson Recap: Automation with Command-Line Tools (video, 0 minutes)
◦ Lesson Introduction: Building Machine Learning APIs (video, 0 minutes)
◦ Introduction to Flask Framework (video, 6 minutes)
◦ Building an API with Flask (video, 8 minutes)
◦ Introduction to the FastAPI Framework (video, 7 minutes)
◦ Building an API with FastAPI (video, 6 minutes)
◦ Python API Best Practices (video, 7 minutes)
◦ Lesson Recap: Building Machine Learning APIs (video, 0 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Key Terms (reading, 10 minutes)
◦ External Lab: GPU Powered MLOps Template (reading, 10 minutes)
◦ Lesson Reflection (reading, 10 minutes)
◦ Next Steps (reading, 10 minutes)
◦ Quiz-Working with APIs and SDKs (quiz, 30 minutes)
◦ Quiz-Automating with the CLI (quiz, 30 minutes)
◦ Quiz-Working with GitHub GPU MLOps Template (quiz, 30 minutes)
◦ Automation with Python (quiz, 30 minutes)
◦ MLOps CLI (ungraded lab, 60 minutes)
◦ Linux Desktop Sandbox (ungraded lab, 60 minutes)
◦ Jupyter Final Sandbox (ungraded lab, 60 minutes)
◦ VSCode Final Sandbox (ungraded lab, 60 minutes)

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

CS50's Introduction to Artificial Intelligence with Python (edX) EdX
HarvardX,Harvard University

CS50's Introduction to Artificial Intelligence with Python (edX)

Learn to use machine learning in Python in this introductory course on artificial intelligence. AI is transforming how we live, work, and play. By enabling new technologies like self-driving cars and recommendation systems or improving old ones like medical diagnostics and search engines, the demand for expertise in AI and machine learning is growing rapidly. This course will enable you to take the first step toward solving important real-world problems and future-proofing your career.

Self Paced
Self-Paced
CS50's Introduction to Computer Science (edX) EdX
HarvardX,Harvard University

CS50's Introduction to Computer Science (edX)

An introduction to the intellectual enterprises of computer science and the art of programming. This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming for majors and non-majors alike, with or without prior programming experience. An entry-level course taught by David J. Malan, CS50 teaches students how to think algorithmically and solve problems efficiently.

Self Paced
Self-Paced
SQL for Data Science (edX) EdX
IBM

SQL for Data Science (edX)

Learn how to use and apply the powerful language of SQL to better communicate and extract data from databases - a must for anyone working in the data science field. Much of the world's data lives in databases. SQL (or Structured Query Language) is a powerful programming language that is used for communicating with and extracting various data types from databases.

Self Paced
Self-Paced
Data Science: Capstone (edX) EdX
HarvardX,Harvard University

Data Science: Capstone (edX)

Show what you’ve learned from the Professional Certificate Program in Data Science. To become an expert data scientist you need practice and experience. By completing this capstone project you will get an opportunity to apply the knowledge and skills in R data analysis that you have gained throughout the series. This final project will test your skills in data visualization, probability, inference and modeling, data wrangling, data organization, regression, and machine learning.

Self Paced
Self-Paced
Python: aprender a programar (edX) EdX
Universitat Politècnica de València,UPValenciaX

Python: aprender a programar (edX)

Aprende a programar con Python desde cero. Comienza conociendo variables, bucles y funciones y llega a manejar ficheros de texto. Este curso empieza desde 0 para aprender a programar con Python, tratando los fundamentos de programación como son las variables y constantes, las condiciones, los bucles y los módulos y funciones, para acabar introduciendo el tratamiento de cadenas de texto y los ficheros.

Self Paced
Self-Paced
Python for Data Science (edX) EdX
University of California, San Diego,UC San DiegoX

Python for Data Science (edX)

Learn to use powerful, open-source, Python tools, including Pandas, Git and Matplotlib, to manipulate, analyze, and visualize complex datasets. In the information age, data is all around us. Within this data are answers to compelling questions across many societal domains (politics, business, science, etc.). But if you had access to a large dataset, would you be able to find the answers you seek?

Self Paced
Self-Paced
Self-Driving Cars with Duckietown (edX) EdX
ETH Zurich,ETHx

Self-Driving Cars with Duckietown (edX)

The first robotics and AI MOOC with scale-model self-driving cars. Learn state-of-the-art autonomy with your own real robot (Duckiebot). Autonomy and AI are all around us, revolutionizing our daily lives. Autonomous vehicles have a huge potential to impact society in the near future. Have you ever wondered how autonomous vehicles really work? With this course, you will start from a box of parts and finish with a scaled self-driving car that drives autonomously in your living room. In the process, you will use state-of-the-art approaches, the latest software tools and real hardware in an engaging hands-on learning experience.

Self Paced
Self-Paced
Probability and Statistics in Data Science using Python (edX) EdX
University of California, San Diego,UC San DiegoX

Probability and Statistics in Data Science using Python (edX)

Using Python, learn statistical and probabilistic approaches to understand and gain insights from data. The job of a data scientist is to glean knowledge from complex and noisy datasets. Reasoning about uncertainty is inherent in the analysis of noisy data. Probability and Statistics provide the mathematical foundation for such reasoning.

Self Paced
Self-Paced
PyTorch Basics for Machine Learning (edX) EdX
IBM

PyTorch Basics for Machine Learning (edX)

This course is the first part in a two part course and will teach you the fundamentals of PyTorch. In this course you will implement classic machine learning algorithms, focusing on how PyTorch creates and optimizes models. You will quickly iterate through different aspects of PyTorch giving you strong foundations and all the prerequisites you need before you build deep learning models.

Self Paced
Self-Paced
Computing in Python I: Fundamentals and Procedural Programming (edX) EdX
Georgia Institute of Technology,GTx

Computing in Python I: Fundamentals and Procedural Programming (edX)

Learn the fundamentals of computing in Python, including variables, operators, and writing and debugging your own programs. This course starts from the beginning, covering the basics of how a computer interprets lines of code; how to write programs, evaluate their output, and revise the code itself; how to work with variables and their changing values; and how to use mathematical, boolean, and relational operators.

Self Paced
Self-Paced