IBM: 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
About this courseSkip 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.
At a glance
- Language: English
- Video Transcript: English
- Associated skills: Linear Regression, Logistic Regression, Machine Learning, Pandas (Python Package), Forecasting, PyTorch (Machine Learning Library), Machine Learning Algorithms, Multiple Linear Regression, Operations, Deep Learning, Integration, Loss Functions, NumPy
What you'll learnSkip 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
- Tensors 1D
- Two-Dimensional Tensors
- Derivatives In PyTorch
- Prediction Linear Regression
- Training Linear Regression
- Gradient Descent
- Training PyTorch
- Gradient Descent
- Mini-Batch Gradient Descent
- Optimization in PyTorch
- Training and Validation
- Early stopping
- Multiple Linear Regression Prediction
- Multiple Linear Regression Training
- Linear regression multiple outputs
- Multiple Output Linear Regression Training
- Linear Classifier and Logistic Regression
- Logistic Regression Prediction
- Bernoulli Distribution Maximum Likelihood Estimation
- Logistic Regression Cross Entropy
- Final Project