Skip to main content

PyTorch Basics for Machine Learning

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.

...
PyTorch Basics for Machine Learning

There is one session available:

10,249 already enrolled!
Starts Nov 21

PyTorch Basics for Machine Learning

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.

PyTorch Basics for Machine Learning
5 weeks
4–5 hours per week
Self-paced
Progress at your own speed
Free
Optional upgrade available

There is one session available:

10,249 already enrolled! After a course session ends, it will be archivedOpens in a new tab.
Starts Nov 21

About this course

Skip About this course

Please Note: Learners who successfully complete this IBM course can earn a skill badge — a detailed, verifiable and digital credential that profiles the knowledge and skills you’ve acquired in this course. Enroll to learn more, complete the course and claim your badge!

This course is the first part in a two part course and will teach you the fundamentals of Pytorch while providing the necessary prerequisites you need before you build deep learning models.

We will start off with PyTorch's tensors in one dimension and two dimensions , you will learn the tensor types an operations, PyTorchs Automatic Differentiation package and integration with Pandas and Numpy. This is followed by an in-depth overview of the dataset object and transformations; this is the first step in building Pipelines in PyTorch.

In module two we will learn how to train a linear regression model. You will review the fundamentals of training your model including concepts such as loss, cost and gradient descent. You will learn the fundamentals of PyTorch including how to make a prediction using PyTorch's linear class and custom modules. Then determine loss and cost with PyTorch. Finally you will implement gradient descent via first principles.

In module three you will train a linear regression model via PyTorch's build in functionality, developing an understanding of the key components of PyTorch. This will include how to effectively train PyTorch's custom modules using the optimizer object, allowing you an effective way to train any model. We will introduce the data loader allowing you more flexibility when working with massive datasets . You will learn to save your model and training in applications such as cross validation for hyperparameter selection, early stopping and checkpoints.

In module three you will learn how to extend your model to multiple input and output dimensions in applications such as multiple linear regression and multiple output linear regression. You will learn the fundamentals of the linear object, including how it interacts with data with different dimensions and number of samples. Finally you will learn how to train these models in PyTorch.

In module four you will review linear classifiers, logistic regression and the issue of using different loss functions. You will learn how to implement logistic regression in PyTorch several ways, including using custom modules and using the sequential method. You will test your skills in a final project.

Awards

PyTorch Basics for Machine Learning

At a glance

  • Language: English
  • Video Transcript: English
  • Associated programs:

What you'll learn

Skip What you'll learn
  • Build a Machine learning pipeline in PyTorch
  • Train Models in PyTorch.
  • Load large datasets
  • Train machine learning applications with PyTorch
  • Have the prerequisite Knowledge to apply to deep learning and
    how to incorporate and Python libraries such as Numpy and Pandas with PyTorch

Module 1

  • Tensors 1D
  • Two-Dimensional Tensors
  • Derivatives In PyTorch
  • Dataset

Module 2

  • Prediction Linear Regression
  • Training Linear Regression
  • Loss
  • Gradient Descent
  • Cost
  • Training PyTorch

Module 3

  • Gradient Descent
  • Mini-Batch Gradient Descent
  • Optimization in PyTorch
  • Training and Validation
  • Early stopping

Module 4

  • Multiple Linear Regression Prediction
  • Multiple Linear Regression Training
  • Linear regression multiple outputs
  • Multiple Output Linear Regression Training

Module 5

Final project

About the instructors

Who can take this course?

Unfortunately, learners residing in one or more of the following countries or regions will not be able to register for this course: Iran, Cuba and the Crimea region of Ukraine. While edX has sought licenses from the U.S. Office of Foreign Assets Control (OFAC) to offer our courses to learners in these countries and regions, the licenses we have received are not broad enough to allow us to offer this course in all locations. edX truly regrets that U.S. sanctions prevent us from offering all of our courses to everyone, no matter where they live.

Interested in this course for your business or team?

Train your employees in the most in-demand topics, with edX For Business.