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

Advanced Algorithmics and Graph Theory with Python (edX) EdX
Institut Mines-Telecom,IMTx

Advanced Algorithmics and Graph Theory with Python (edX)

Strengthen your skills in algorithmics and graph theory, and gain experience in programming in Python along the way. Algorithmics and programming are fundamental skills for engineering students, data scientists and analysts, computer hobbyists or developers. Learning how to program algorithms can be tedious if you aren’t given an opportunity to immediately practice what you learn. In this course, you won't just focus on theory or study a simple catalog of methods, procedures, and concepts. Instead, you’ll be given a challenge wherein you'll be asked to beat an algorithm we’ve written for you by coming up with your own clever solution.

Sep 4th 2023
5-12 Weeks
Machine Learning with Python: from Linear Models to Deep Learning (edX) EdX
MIT,MITx

Machine Learning with Python: from Linear Models to Deep Learning (edX)

An in-depth introduction to the field of machine learning, from linear models to deep learning and reinforcement learning, through hands-on Python projects. Machine learning methods are commonly used across engineering and sciences, from computer systems to physics. Moreover, commercial sites such as search engines, recommender systems (e.g., Netflix, Amazon), advertisers, and financial institutions employ machine learning algorithms for content recommendation, predicting customer behavior, compliance, or risk.

May 27th 2024
13-24 Weeks
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
Machine Learning (edX) EdX
Columbia University,ColumbiaX

Machine Learning (edX)

Master the essentials of machine learning and algorithms to help improve learning from data without human intervention. Machine Learning is the basis for the most exciting careers in data analysis today. You’ll learn the models and methods and apply them to real world situations ranging from identifying trending news topics, to building recommendation engines, ranking sports teams and plotting the path of movie zombies.

This course is archived
5-12 Weeks
Successfully Evaluating Predictive Modelling (edX) EdX
University of Edinburgh,EdinburghX

Successfully Evaluating Predictive Modelling (edX)

Gain an in-depth understanding of evaluation and sampling approaches for effective predictive modelling using Python. A predictive exercise is not finished when a model is built. This course will equip you with essential skills for understanding performance evaluation metrics, using Python, to determine whether a model is performing adequately.

Oct 26th 2021
5-12 Weeks
Computer Applications of Artificial Intelligence and e-Construction (edX) EdX
Purdue University,PurdueX

Computer Applications of Artificial Intelligence and e-Construction (edX)

Learn the fundamentals of artificial intelligence, machine learning, natural language processing and their applications in e-Construction. This course is the third in a sequence of interrelated courses of the current computer applications in the construction industry. The emphasis of this course is the advanced computational tools including artificial intelligence, machine learning, and natural language processing, and their applications in e-Construction.

Mar 28th 2022
5-12 Weeks
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
Data Science Essentials (edX) EdX
Microsoft

Data Science Essentials (edX)

Explore data visualization and exploration concepts with experts from MIT and Microsoft, and get an introduction to machine learning. Demand for data science talent is exploding. Develop your career as a data scientist, as you explore essential skills and principles with experts from MIT and Microsoft. In this data science course, you will learn key concepts in data acquisition, preparation, exploration, and visualization. Plus, look at examples of how to build a cloud data science solution using Azure Machine Learning, R, and Python.

Not Available
Course Not Available
Understanding the World Through Data (edX) EdX
MIT,MITx

Understanding the World Through Data (edX)

Become a data explorer – learn how to leverage data and basic machine learning algorithms to understand the world. Speech recognition, drones, and self-driving cars – things that once seemed like pure science fiction – are now widely available technologies, and just a few examples of how humans have taught machines to analyze data and make decisions. In this hands-on, introductory course, you will examine all the forms in which data exists, learn tools that uncover relationships between data, and leverage basic algorithms to understand the world from a new perspective.

Mar 13th 2024
5-12 Weeks
Big Data Analytics Using Spark (edX) EdX
University of California, San Diego,UC San DiegoX

Big Data Analytics Using Spark (edX)

Learn how to analyze large datasets using Jupyter notebooks, MapReduce and Spark as a platform. In data science, data is called “big” if it cannot fit into the memory of a single standard laptop or workstation. The analysis of big datasets requires using a cluster of tens, hundreds or thousands of computers. Effectively using such clusters requires the use of distributed files systems, such as the Hadoop Distributed File System (HDFS) and corresponding computational models, such as Hadoop, MapReduce and Spark.

Dec 5th 2023
5-12 Weeks
Recommender Systems: Behind the Screen (edX) EdX
Université de Montréal,UMontrealX

Recommender Systems: Behind the Screen (edX)

How are items recommended when you’re browsing for movies, jobs or clothing online? Register here and you’ll discover the fundamental concepts and methods allowing the most relevant item suggestions to users from e-commerce to online advertisement. In this course, you will explore and learn the best methods and practices in recommender systems, which are an essential component of the online ecosystem. This course was developed by IVADO and HEC Montréal as part of a workshop that took place in Montreal.

Sep 26th 2023
5-12 Weeks