VOOZH about

URL: https://www.coursera.org/learn/deep-neural-networks-with-pytorch

⇱ Introduction to Neural Networks and PyTorch | Coursera


Introduction to Neural Networks and PyTorch

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Introduction to Neural Networks and PyTorch

This course is part of multiple programs.

100,885 already enrolled

Included with

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.4

1,909 reviews

Intermediate level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
92%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.4

1,909 reviews

Intermediate level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
92%
Most learners liked this course

What you'll learn

  • Get hands-on building, training, and evaluating PyTorch models you can showcase in your professional portfolio

  • Gain practical experience with tensors, datasets, and automatic differentiation using PyTorch core tools, including autograd and DataLoader

  • Develop linear regression models using gradient descent, mini-batch optimization, and training/validation splits to evaluate model performance

  • ·Apply cross-entropy loss, sigmoid-based classification, and advanced optimization techniques to build logistic regression models in PyTorch

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

16 assignments¹

AI Graded see disclaimer
Taught in English

Build your subject-matter expertise

This course is available as part of
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.

What's included

9 videos1 reading3 assignments3 app items2 plugins

9 videosTotal 48 minutes
  • Course Introduction4 minutes
  • Introduction to Modern Neural Network6 minutes
  • Introduction to Matrices and Vectors5 minutes
  • Introduction to Tensors and Datasets in PyTorch6 minutes
  • Understanding 1D Tensors in PyTorch6 minutes
  • Common Operations in 1D Tensors using PyTorch7 minutes
  • Introduction to 2D Tensors in PyTorch4 minutes
  • 2D Tensor Operations in PyTorch5 minutes
  • Understanding Differentiation in PyTorch5 minutes
1 readingTotal 10 minutes
  • Course Overview10 minutes
3 assignmentsTotal 41 minutes
  • Graded Quiz: Tensors21 minutes
  • Practice Quiz: One-Dimensional Tensors10 minutes
  • Practice Quiz: Two-Dimensional Tensors10 minutes
3 app itemsTotal 65 minutes
  • Lab: Understanding 1D Tensors in PyTorch20 minutes
  • Lab: Two-Dimensional Tensors20 minutes
  • Lab: Differentiation in PyTorch25 minutes
2 pluginsTotal 6 minutes
  • Reading: Helpful Tips for Course Completion1 minute
  • Podcast: Summary and Highlights: Tensors5 minutes

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

2 videosTotal 11 minutes
  • Creating Simple Datasets in PyTorch5 minutes
  • Building Image Datasets in PyTorch6 minutes
2 assignmentsTotal 31 minutes
  • Graded Quiz: Datasets21 minutes
  • Practice Quiz: Datasets10 minutes
2 app itemsTotal 40 minutes
  • Lab: Simple Dataset30 minutes
  • Lab: Torch Vision Datasets10 minutes
1 pluginTotal 3 minutes
  • Podcast: Summary and Highlights: Datasets3 minutes

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

7 videosTotal 33 minutes
  • Linear Regression in PyTorch5 minutes
  • Linear Regression Prediction 5 minutes
  • Training Linear Regression Models6 minutes
  • Loss Functions4 minutes
  • Gradient Descent Basics4 minutes
  • Cost Functions and Batch Gradient Descent4 minutes
  • PyTorch Linear Regression Training Slope and Bias4 minutes
3 assignmentsTotal 41 minutes
  • Graded Quiz: Linear Regression and Gradient Descent21 minutes
  • Practice Quiz: Linear Regression Prediction and Training10 minutes
  • Practice Quiz: Gradient Descent10 minutes
2 app itemsTotal 60 minutes
  • Lab: Linear Regression 1D: Prediction30 minutes
  • Lab Linear Regression: Prediction30 minutes
4 pluginsTotal 19 minutes
  • Reading: Best Practices for Training Linear Regression Models in PyTorch5 minutes
  • Reading: Types of Gradient Descent5 minutes
  • Reading: Cost Functions4 minutes
  • Podcast: Summary and Highlights: Linear Regression and Gradient Descent5 minutes

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

5 videosTotal 23 minutes
  • Stochastic Gradient Descent4 minutes
  • Mini-Batch Gradient Descent4 minutes
  • Optimization in PyTorch4 minutes
  • Training, Validation, and Test Split5 minutes
  • Training, Validation, and Test Split in PyTorch6 minutes
2 assignmentsTotal 31 minutes
  • Graded Quiz: Linear Regression PyTorch Way21 minutes
  • Practice Quiz: Gradient Descent Methods and Training Workflows in PyTorch10 minutes
4 app itemsTotal 120 minutes
  • Lab: Stochastic Gradient Descent and Data Loader30 minutes
  • Mini-Batch Gradient Descent30 minutes
  • Lab: Optimization in PyTorch30 minutes
  • Lab: Training, Validation, and Test Split in PyTorch30 minutes
1 pluginTotal 5 minutes
  • Summary and Highlights: Linear Regression the PyTorch Way5 minutes

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

5 videosTotal 26 minutes
  • Multiple Linear Regression Training5 minutes
  • Multiple Linear Regression Prediction5 minutes
  • Linear Regression Multiple Outputs6 minutes
  • Video: Multiple Output Linear Regression Training5 minutes
  • Current Trends in PyTorch6 minutes
2 assignmentsTotal 31 minutes
  • Graded Quiz: Multiple Input Output Linear Regression21 minutes
  • Practice Quiz: Multiple Input-Output Linear Regression10 minutes
4 app itemsTotal 65 minutes
  • Lab: Multiple Linear Regression Training15 minutes
  • Lab: Multiple Linear Regression Prediction15 minutes
  • Lab: Linear Regression with Multiple Outputs15 minutes
  • Lab: Training Linear Regression with Multiple Outputs20 minutes
1 pluginTotal 5 minutes
  • Summary and Highlights: Multiple Input-Output Linear Regression5 minutes

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

8 videosTotal 41 minutes
  • Introduction to Linear Classifiers5 minutes
  • Sigmoid Function and Probability Thresholding 4 minutes
  • Logistic Regression Prediction5 minutes
  • Bernoulli Distribution and Maximum Likelihood Estimation6 minutes
  • Video: Cross-Entropy Loss in Logistic Regression5 minutes
  • Applying Cross-Entropy Loss in PyTorch Logistic Regression4 minutes
  • Advanced Optimization and Training Techniques6 minutes
  • Regularization and Generalization5 minutes
3 assignmentsTotal 41 minutes
  • Graded Quiz: Logistic Regression for Classification21 minutes
  • Practice Quiz: Logistic Regression for Classification10 minutes
  • Practice Quiz: Logistic Regression and Cross-Entropy10 minutes
3 app itemsTotal 44 minutes
  • Logistic Regression Prediction15 minutes
  • Lab: Logistic Regression Mean Square Error14 minutes
  • Lab: Logistic Regression Cross Entropy15 minutes
1 pluginTotal 5 minutes
  • Summary and Highlights: Logistic Regression for Classification5 minutes

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.

What's included

2 readings1 assignment1 peer review3 app items3 plugins

2 readingsTotal 13 minutes
  • Congratulations and Next Steps3 minutes
  • Team and Acknowledgments10 minutes
1 assignmentTotal 45 minutes
  • Final Exam45 minutes
1 peer reviewTotal 60 minutes
  • Option 2: Peer Graded - Final Project Submission and Evaluation60 minutes
3 app itemsTotal 150 minutes
  • Option 1: AI Graded - Final Project: Submission and Evaluation60 minutes
  • Practice Project: Neural Network for Breast Cancer Classification30 minutes
  • Final Project: League of Legends Match Predictor60 minutes
3 pluginsTotal 39 minutes
  • Final Project Overview30 minutes
  • Reading: Final Project Submission Guidelines and Deliverables5 minutes
  • Podcast: Course Wrap-up 4 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructors

Instructor ratings
4.4 (414 ratings)
IBM
37 Courses2,495,946 learners

Offered by

Explore more from Machine Learning

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"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."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

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."
👁 Image

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

  • 5 stars

    65.89%

  • 4 stars

    21.52%

  • 3 stars

    5.91%

  • 2 stars

    3.66%

  • 1 star

    2.98%

Showing 3 of 1909

AF
·

Reviewed on Dec 1, 2022

Excellent course, works its way through basics to fully fledged machine learning models at a good pace.

A few of the examples used in the lab code throw errors, these should be rectified

DD
·

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!

SY
·

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!!

Frequently asked questions

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.

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.

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.

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.

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.

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.

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.

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.

Financial aid available,

¹ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.