IBM

Introduction to Neural Networks and PyTorch

IBM

Introduction to Neural Networks and PyTorch

This course is part of multiple programs.

Joseph Santarcangelo
Harish Pant

Instructors: Joseph Santarcangelo

99,453 already enrolled

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.

1,901 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.

1,901 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

  • Develop foundational deep learning skills by 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

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

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

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

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

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

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

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

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

9 videos3 assignments3 app items1 plugin

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

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
(414 ratings)
Joseph Santarcangelo
IBM
37 Courses2,442,053 learners
Harish Pant
IBM
3 Courses99,736 learners

Offered by

IBM

Explore more from Machine Learning

Why people choose Coursera for their career

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

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

  • 5 stars

    65.87%

  • 4 stars

    21.50%

  • 3 stars

    5.94%

  • 2 stars

    3.68%

  • 1 star

    2.99%

Showing 3 of 1901

UJ

Reviewed on Nov 2, 2020

DD

Reviewed on Jul 12, 2020

SY

Reviewed on Apr 29, 2020

Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions

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