PyTorch Fundamentals for Machine Learning
Learn the fundamentals of PyTorch for machine learning in this course. Topics include tensors, linear regression, logistic regression, and optimization techniques like gradient descent. Apply your skills through hands-on projects and quizzes.

Language
- English
Topic
- Machine Learning
Skills You Will Learn
- PyTorch, Deep Learning, Machine Learning, Loss Functions, Multiple Linear Regression, Gradient Descent
Offered By
- IBMSkillsNetwork
Estimated Effort
- 17 Hours
Platform
- SkillsNetwork
Last Update
- May 1, 2025
About this course
What you will learn:
- Define tensors and understand their applications in PyTorch.
- Explain linear regression and how to apply it using PyTorch.
- Implement stochastic and mini-batch gradient descent algorithms.
- Compare different methods of regression (linear, multiple) in terms of predictions and loss functions.
- Assess the performance of a model using training, validation, and test splits.
- Develop a final project that applies learned techniques to classify or predict outcomes in a dataset.
Course Syllabus
- Video: Course Introduction
- Reading: Course Overview
- General Information
- Learning Objectives and Syllabus
- Grading Scheme
- Helpful Tips for Course Completion
- Video: Overview of Tensors
- Errata:Tensors ID
- Video: Tensors 1D
- Reading: Tensors 1D
- Lab2: Tensors 1D
- Errata:Two-Dimensional Tensors
- Video: Two-Dimensional Tensors
- Lab: Two-Dimensional Tensors
- Video: Differentiation in PyTorch
- Lab: Differentiation in PyTorch
- Video: Simple Dataset
- Lab: Simple Dataset
- Video: Dataset
- Lab: Dataset
- Lab: Torch Vision Datasets
- Module-level Graded Quiz: Tensor and Dataset
Module 2: Linear Regression
- Video: Linear Regression Prediction
- Lab: Linear Regression 1D: Prediction
- Errata: Linear Regression Training
- Video: Linear Regression Training
- Video: Loss
- Video: Gradient Descent and Cost
- Video: Cost
- Video: Linear Regression PyTorch
- Lab: Linear Regression ID: Training one Parameter
- Errata: PyTorch Linear Regression Training Slope and Bias
- Video: PyTorch Linear Regression Training Slope and Bias
- Lab: Linear Regression: Prediction
- Module-level Graded Quiz: Linear Regression
Module 3: Linear Regression PyTorch Way
- Video: Stochastic Gradient Descent
- Lab: Stochastic Gradient Descent and Data Loader
- Video: Mini-Batch Gradient Descent
- Lab: Mini-Batch Gradient Descent
- Video: Optimization in PyTorch
- Lab: Optimization in PyTorch
- Video: Training, Validation, and Test Split
- Errata: Training, Validation, and Test Split PyTorch
- Video: Training, Validation, and Test Split PyTorch
- Lab: Training, Validation, and Test Split in PyTorch
- Module-level Graded Quiz: Linear Regression PyTorch Way
Module 4: Multiple Input Output Linear Regression
- Video: Multiple Linear Regression Prediction
- Lab: Multiple Linear Regression Prediction
- Video: Multiple Linear Regression Training
- Lab: Multiple Linear Regression Training
- Video: Linear Regression Multiple Outputs
- Lab: Multiple Linear Regression Prediction
- Video: Multiple Output Linear Regression Training
- Lab: Multiple Linear Regression Training
- Module-level Graded Quiz: Multiple Input Output Linear Regression
Module 5: Logistic Regression for Classification
- Video: Linear Classifiers
- Video: Logistic Regression Prediction
- Lab: Logistic Regression Prediction
- Video: Bernoulli Distribution and Maximum Likelihood Estimation
- Video: Logistic Regression Cross Entropy Loss
- Lab: Logistic Regression Mean Square Error
- Lab: Logistic Regression Cross Entropy
- Module-level Graded Quiz: Linear Classifiers
Module 6: Practice Project and Final Project
- Practice Project: Neural Network for Breast Cancer Classification
- Reading: Final Project Overview
- Final Project: League of Legends Match Predictor
- Reading Peer-Review: Final Project League of Legends Match Predictor
- Congratulations and Next Steps
- Thanks from the Course Team
- Reading: Copyrights and Trademarks
General Information
- This course is self-paced.
- This platform works best with current versions of Chrome, Edge, Firefox, Internet Explorer, or Safari.
Recommended Skills Prior to Taking this Course
- High School level Mathematics
- Working knowledge of Python.
- Machine Learning with Python
- Fundamentals of Deep Learning

Language
- English
Topic
- Machine Learning
Skills You Will Learn
- PyTorch, Deep Learning, Machine Learning, Loss Functions, Multiple Linear Regression, Gradient Descent
Offered By
- IBMSkillsNetwork
Estimated Effort
- 17 Hours
Platform
- SkillsNetwork
Last Update
- May 1, 2025
Instructors
Joseph Santarcangelo
Senior Data Scientist at IBM
Joseph has a Ph.D. in Electrical Engineering, his research focused on using machine learning, signal processing, and computer vision to determine how videos impact human cognition. Joseph has been working for IBM since he completed his PhD.
Read moreRav Ahuja
Global Program Director, IBM Skills Network
Rav Ahuja is a Global Program Director at IBM. He leads growth strategy, curriculum creation, and partner programs for the IBM Skills Network. Rav co-founded Cognitive Class, an IBM led initiative to democratize skills for in demand technologies. He is based out of the IBM Canada Lab in Toronto and specializes in instructional solutions for AI, Data, Software Engineering and Cloud. Rav presents at events worldwide and has authored numerous papers, articles, books and courses on subjects in managing and analyzing data. Rav holds B. Eng. from McGill University and MBA from University of Western Ontario.
Read more