When you enroll in this course, you'll also be asked to select a specific program.
Learn new concepts from industry experts
Gain a foundational understanding of a subject or tool
Develop job-relevant skills with hands-on projects
Earn a shareable career certificate from IBM
There are 7 modules in this course
Get ready to build the foundational PyTorch skills you need to launch your career as an AI Engineer – the fastest growing job title in the United States. Starting with tensors, this course takes you right through to fully trained classification models.
You will master tensor operations, build custom datasets, and implement linear regression models using PyTorch's nn.Module and autograd system. Then, you will progress through gradient descent, stochastic and mini-batch training, loss functions, and training/validation workflows. Further, you will build logistic regression classifiers, apply cross-entropy loss, and implement advanced optimization and regularization techniques.
Through interactive labs, instructional videos, and an AI-assisted dialogue, you will practice building, training, and evaluating models using real PyTorch code patterns. By the end, you will create a portfolio-worthy project that demonstrates your ability to perform PyTorch classification and gradient-based optimization tasks.
Enroll now to enhance your resume and complete a project that showcases your hands-on skills in the AI-driven job market.
In this module, you'll build your foundation in PyTorch by working directly with tensors. You'll explore one- and two-dimensional tensors, common tensor operations, and attributes like shape, dtype, and numel(). You'll also examine basic differentiation concepts and see how PyTorch's autograd system tracks and computes gradients. Through guided practice, you'll learn how to connect linear algebra concepts to real PyTorch code.
Introduction to Tensors and Datasets in PyTorch•6 minutes
Understanding 1D Tensors in PyTorch•6 minutes
Common Operations in 1D Tensors using PyTorch•7 minutes
Introduction to 2D Tensors in PyTorch•4 minutes
2D Tensor Operations in PyTorch•5 minutes
Understanding Differentiation in PyTorch•5 minutes
1 reading•Total 10 minutes
Course Overview•10 minutes
3 assignments•Total 41 minutes
Practice Quiz: One-Dimensional Tensors•10 minutes
Practice Quiz: Two-Dimensional Tensors•10 minutes
Graded Quiz: Tensors•21 minutes
3 app items•Total 65 minutes
Lab: Understanding 1D Tensors in PyTorch•20 minutes
Lab: Two-Dimensional Tensors•20 minutes
Lab: Differentiation in PyTorch•25 minutes
2 plugins•Total 6 minutes
Reading: Helpful Tips for Course Completion•1 minute
Podcast: Summary and Highlights: Tensors•5 minutes
Building Datasets in PyTorch
Module 2•1 hour to complete
Module details
In this module, you'll learn how to structure and prepare data for training in PyTorch. You'll create custom dataset classes, implement __len__ and __getitem__, and apply preprocessing steps using transforms and Compose. You'll also work with image datasets and Torchvision patterns. By the end, you'll understand how data flows into a PyTorch model during training.
What's included
2 videos2 assignments2 app items1 plugin
Show info about module content
2 videos•Total 11 minutes
Creating Simple Datasets in PyTorch•5 minutes
Building Image Datasets in PyTorch•6 minutes
2 assignments•Total 31 minutes
Practice Quiz: Datasets•10 minutes
Graded Quiz: Datasets•21 minutes
2 app items•Total 40 minutes
Lab: Simple Dataset•30 minutes
Lab: Torch Vision Datasets•10 minutes
1 plugin•Total 3 minutes
Podcast: Summary and Highlights: Datasets•3 minutes
Applying Linear Regression and Gradient Descent
Module 3•3 hours to complete
Module details
In this module, you'll learn how to build and train linear regression models in PyTorch. You'll explore how models are defined using nn.Module, how state_dict() stores parameters, and how loss functions measure prediction error. You'll examine cost surfaces, gradient descent, learning rates, and stopping criteria. Through hands-on training loops, you'll see how slope and bias update over time as the model minimizes loss.
What's included
7 videos3 assignments2 app items4 plugins
Show info about module content
7 videos•Total 33 minutes
Linear Regression in PyTorch•5 minutes
Linear Regression Prediction •5 minutes
Training Linear Regression Models•6 minutes
Loss Functions•4 minutes
Gradient Descent Basics•4 minutes
Cost Functions and Batch Gradient Descent•4 minutes
PyTorch Linear Regression Training Slope and Bias•4 minutes
3 assignments•Total 41 minutes
Practice Quiz: Linear Regression Prediction and Training•10 minutes
Practice Quiz: Gradient Descent•10 minutes
Graded Quiz: Linear Regression and Gradient Descent•21 minutes
2 app items•Total 60 minutes
Lab: Linear Regression 1D: Prediction•30 minutes
Lab Linear Regression: Prediction•30 minutes
4 plugins•Total 19 minutes
Reading: Best Practices for Training Linear Regression Models in PyTorch•5 minutes
Reading: Types of Gradient Descent•5 minutes
Reading: Cost Functions•4 minutes
Podcast: Summary and Highlights: Linear Regression and Gradient Descent•5 minutes
Training Linear Regression Models the PyTorch Way
Module 4•3 hours to complete
Module details
In this module, you'll discover how to implement training workflows using PyTorch tools such as DataLoader and optimizers. You'll learn how to compare batch, stochastic, and mini-batch gradient descent, and examine how batch size, epochs, and learning rate affect convergence. You'll learn how to structure full training loops with forward passes, backpropagation, and parameter updates. Finally, you'll explore training, validation, and test splits to evaluate model performance and detect overfitting.
What's included
5 videos2 assignments4 app items1 plugin
Show info about module content
5 videos•Total 23 minutes
Stochastic Gradient Descent•4 minutes
Mini-Batch Gradient Descent•4 minutes
Optimization in PyTorch•4 minutes
Training, Validation, and Test Split•5 minutes
Training, Validation, and Test Split in PyTorch•6 minutes
2 assignments•Total 31 minutes
Practice Quiz: Gradient Descent Methods and Training Workflows in PyTorch•10 minutes
Graded Quiz: Linear Regression PyTorch Way•21 minutes
4 app items•Total 120 minutes
Lab: Stochastic Gradient Descent and Data Loader•30 minutes
Mini-Batch Gradient Descent•30 minutes
Lab: Optimization in PyTorch•30 minutes
Lab: Training, Validation, and Test Split in PyTorch•30 minutes
1 plugin•Total 5 minutes
Summary and Highlights: Linear Regression the PyTorch Way•5 minutes
Extending Linear Regression to Multiple Inputs and Outputs
Module 5•2 hours to complete
Module details
In this module, you'll explore how to extend linear regression to handle multiple input features and multiple outputs. You'll learn how to use nn.Linear and custom modules to build higher-dimensional models and discover how weights and bias expand from scalars to vectors and matrices. You'll practice working with vectorized cost functions, gradient descent, and training workflows using DataLoaders and optimizers. Through hands-on labs, you'll learn how to build, train, and evaluate multi-dimensional and multi-output regression models step by step using real PyTorch code patterns.
What's included
5 videos2 assignments4 app items1 plugin
Show info about module content
5 videos•Total 26 minutes
Multiple Linear Regression Training•5 minutes
Multiple Linear Regression Prediction•5 minutes
Linear Regression Multiple Outputs•6 minutes
Video: Multiple Output Linear Regression Training•5 minutes
Current Trends in PyTorch•6 minutes
2 assignments•Total 31 minutes
Practice Quiz: Multiple Input-Output Linear Regression•10 minutes
Graded Quiz: Multiple Input Output Linear Regression•21 minutes
4 app items•Total 65 minutes
Lab: Multiple Linear Regression Training•15 minutes
Lab: Multiple Linear Regression Prediction•15 minutes
Lab: Linear Regression with Multiple Outputs•15 minutes
Lab: Training Linear Regression with Multiple Outputs•20 minutes
1 plugin•Total 5 minutes
Summary and Highlights: Multiple Input-Output Linear Regression•5 minutes
Applying Logistic Regression for Classification
Module 6•2 hours to complete
Module details
In this module, you'll explore how to move from regression to classification. You'll learn how to build logistic regression models using nn.Sequential, apply the sigmoid function to generate probabilities, and convert probabilities into class predictions. You'll examine the Bernoulli distribution and maximum likelihood estimation and discover why cross-entropy loss is preferred over Mean Squared Error (MSE) for classification tasks. You'll also explore optimization and regularization techniques that help improve classification performance.
What's included
8 videos3 assignments3 app items1 plugin
Show info about module content
8 videos•Total 41 minutes
Introduction to Linear Classifiers•5 minutes
Sigmoid Function and Probability Thresholding •4 minutes
Logistic Regression Prediction•5 minutes
Bernoulli Distribution and Maximum Likelihood Estimation•6 minutes
Video: Cross-Entropy Loss in Logistic Regression•5 minutes
Applying Cross-Entropy Loss in PyTorch Logistic Regression•4 minutes
Advanced Optimization and Training Techniques•6 minutes
Regularization and Generalization•5 minutes
3 assignments•Total 41 minutes
Practice Quiz: Logistic Regression for Classification•10 minutes
Practice Quiz: Logistic Regression and Cross-Entropy•10 minutes
Graded Quiz: Logistic Regression for Classification•21 minutes
3 app items•Total 44 minutes
Logistic Regression Prediction•15 minutes
Lab: Logistic Regression Mean Square Error•14 minutes
Lab: Logistic Regression Cross Entropy•15 minutes
1 plugin•Total 5 minutes
Summary and Highlights: Logistic Regression for Classification•5 minutes
Final Project, Final Quiz, and Course Wrap-Up
Module 7•5 hours to complete
Module details
In this module, you'll apply what you've explored throughout the course in a hands-on classification project. You will build a logistic regression model to predict the outcomes of League of Legends matches. Leveraging various in-game statistics, this project will utilize your knowledge of PyTorch, logistic regression, and data handling to create a robust predictive model. Finally, you can choose between immediate auto-grading using the IBM AI-assisted assessment tool, Mark, or submit your assignment for a human peer review.
At IBM, we know how rapidly tech evolves and recognize the crucial need for businesses and professionals to build job-ready, hands-on skills quickly. As a market-leading tech innovator, we’re committed to helping you thrive in this dynamic landscape. Through IBM Skills Network, our expertly designed training programs in AI, software development, cybersecurity, data science, business management, and more, provide the essential skills you need to secure your first job, advance your career, or drive business success. Whether you’re upskilling yourself or your team, our courses, Specializations, and Professional Certificates build the technical expertise that ensures you, and your organization, excel in a competitive world.
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Learner reviews
4.4
1,904 reviews
5 stars
65.87%
4 stars
21.52%
3 stars
5.93%
2 stars
3.67%
1 star
2.99%
Showing 3 of 1904
S
SY
5·
Reviewed on Apr 29, 2020
An extremely good course for anyone starting to build deep learning models. I am very satisfied at the end of this course as i was able to code models easily using pytorch. Definitely recomended!!
D
DD
5·
Reviewed on Jul 12, 2020
Excellent Course. I love the way the course was presented. There were a lot of practical and visual examples explaining each module. It is highly recommended!
M
ME
5·
Reviewed on Mar 29, 2020
this course provides a very good and cohesive introduction to Neural Networks. I learned a lot during my journey and I recommend it for anyone interesting in the field.
What career opportunities/roles can this course prepare me for?
This course builds foundational skills for Deep Learning Engineer, Machine Learning Engineer, AI Engineer, Data Scientist, and AI Practitioner roles. You will gain hands-on PyTorch experience with tensors, regression models, gradient-based optimization, and classification—core competencies that employers list in job postings for these positions.
Why is learning PyTorch important?
PyTorch appears in over 37% of machine learning engineer job postings, making it the most sought after deep learning framework in the industry. The framework's dynamic computation graphs, built-in automatic differentiation (autograd), and intuitive Python integration make PyTorch the standard tool for building and training neural networks in both research and production environments.
What will I learn in this course?
You will build a foundation in PyTorch—starting with tensor operations and dataset preparation, then progressing through linear regression, gradient descent (batch, stochastic, and mini-batch), training/validation workflows, and logistic regression for classification. You will also implement cross-entropy loss, explore advanced optimizers like Adam and AdamW, and apply regularization techniques.
Do I need prior experience before taking this course?
This intermediate-level course requires working knowledge of Python programming and familiarity with basic mathematical concepts such as matrices and gradients. No prior PyTorch or deep learning experience is necessary—the course builds every concept from the ground up, starting with tensor fundamentals.
What techniques are covered in this course?
You will work with 1D and 2D tensor operations, PyTorch autograd and automatic differentiation, linear regression with nn.Module and custom modules, MSE and cross-entropy loss functions, batch/stochastic/mini-batch gradient descent, DataLoader and optimizer workflows, training/validation/test splits, logistic regression with sigmoid thresholding, and advanced optimization techniques including Adam, learning rate scheduling, and L1/L2 regularization.
How does the final project help reinforce learning?
In the final project, you will build a logistic regression model to predict League of Legends match outcomes using real in-game statistics—applying the complete PyTorch workflow from data preparation through model training and evaluation. The project produces a portfolio-ready deliverable that demonstrates your ability to implement a classification pipeline end to end.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Certificate?
When you enroll in the course, you get access to all of the courses in the Certificate, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.