Mini Batch Gradient Descent | Deep Learning | with Stochastic Gradient Descent

Learn With Jay · Beginner ·📐 ML Fundamentals ·4y ago

About this lesson

Mini Batch Gradient Descent is an algorithm that helps to speed up learning while dealing with a large dataset. Instead of updating the weight parameters after assessing the entire dataset, Mini Batch Gradient Descent updates weight parameters after assessing the small batch of the dataset. Thus we can make much progress before our model sees the entire dataset. Thus the learning can be very fast. In the video, we also saw Stochastic Gradient Descent, which updates the weight parameter after evaluating every data point or data record. Stochastic Gradient Descent has its own disadvantages as well, which is overcome by the Mini Batch Gradient Descent. So, in practice, we don't use Stochastic Gradient Descent but we use Mini Batch Gradient descent while dealing with large datasets. And we use simple, Batch Gradient Descent while dealing with small datasets. ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ ✔ Improving Neural Network Playlist: https://www.youtube.com/watch?v=SOI39DEHGSk&list=PLuhqtP7jdD8DKUBtucBD0mGS7y0rT9alz ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ ✔ Complete Neural Network Playlist: https://www.youtube.com/watch?v=vtx1iwmOx10&t=284s ✔ Complete Logistic Regression Playlist: https://www.youtube.com/watch?v=U1omz0B9FTw&list=PLuhqtP7jdD8Chy7QIo5U0zzKP8-emLdny&t=0s ✔ Complete Linear Regression Playlist: https://www.youtube.com/watch?v=mlk0rddP3L4&list=PLuhqtP7jdD8CftMk831qdE8BlIteSaNzD&t=0s ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ Timestamp: 0:00 Agenda 0:38 When Gradient Descent will Fail 2:24 Mini Batch Gradient Descent Deep Learning 3:31 Drawback of Mini Batch Gradient Descent 5:47 Stochastic Gradient Descent 6:30 When to use Mini Batch Gradient Descent ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ This is Your Lane to Machine Learning ⭐ ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ Subscribe to my channel, because I upload a new Machine Learning video every week: https://www.youtube.com/channel/UCJFAF6IsaMkzHBDdfriY-yQ?sub_confirmation=1

Original Description

Mini Batch Gradient Descent is an algorithm that helps to speed up learning while dealing with a large dataset. Instead of updating the weight parameters after assessing the entire dataset, Mini Batch Gradient Descent updates weight parameters after assessing the small batch of the dataset. Thus we can make much progress before our model sees the entire dataset. Thus the learning can be very fast. In the video, we also saw Stochastic Gradient Descent, which updates the weight parameter after evaluating every data point or data record. Stochastic Gradient Descent has its own disadvantages as well, which is overcome by the Mini Batch Gradient Descent. So, in practice, we don't use Stochastic Gradient Descent but we use Mini Batch Gradient descent while dealing with large datasets. And we use simple, Batch Gradient Descent while dealing with small datasets. ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ ✔ Improving Neural Network Playlist: https://www.youtube.com/watch?v=SOI39DEHGSk&list=PLuhqtP7jdD8DKUBtucBD0mGS7y0rT9alz ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ ✔ Complete Neural Network Playlist: https://www.youtube.com/watch?v=vtx1iwmOx10&t=284s ✔ Complete Logistic Regression Playlist: https://www.youtube.com/watch?v=U1omz0B9FTw&list=PLuhqtP7jdD8Chy7QIo5U0zzKP8-emLdny&t=0s ✔ Complete Linear Regression Playlist: https://www.youtube.com/watch?v=mlk0rddP3L4&list=PLuhqtP7jdD8CftMk831qdE8BlIteSaNzD&t=0s ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ Timestamp: 0:00 Agenda 0:38 When Gradient Descent will Fail 2:24 Mini Batch Gradient Descent Deep Learning 3:31 Drawback of Mini Batch Gradient Descent 5:47 Stochastic Gradient Descent 6:30 When to use Mini Batch Gradient Descent ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ This is Your Lane to Machine Learning ⭐ ➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖ Subscribe to my channel, because I upload a new Machine Learning video every week: https://www.youtube.com/channel/UCJFAF6IsaMkzHBDdfriY-yQ?sub_confirmation=1
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
Building a Public Financial ML Lab Without Exposing a Trading Strategy
Learn to build a public financial ML lab without exposing your trading strategy, separating production ML engineering proof from private trading logic
Medium · Machine Learning
📰
Solving Hard Problems at the Research–Engineering Boundary: Methodology for Frontier Machine…
Learn to tackle hard problems in machine learning by combining research and engineering methodologies
Medium · LLM
📰
how to solve hard technical problems at the boundary between research and engineering?
Learn to solve hard technical problems at the boundary of research and engineering by scaling experiments and improving training reliability
Medium · LLM
📰
Moving to Airflow 3 on MWAA: Three Problems We Hit and How We Fixed Them
Learn how to overcome common issues when migrating to Airflow 3 on Amazon MWAA, improving security and runtime support
Medium · Machine Learning

Chapters (6)

Agenda
0:38 When Gradient Descent will Fail
2:24 Mini Batch Gradient Descent Deep Learning
3:31 Drawback of Mini Batch Gradient Descent
5:47 Stochastic Gradient Descent
6:30 When to use Mini Batch Gradient Descent
Up next
Dropout in Deep Learning
AnuTech-CH
Watch →