Stochastic Gradient Descent (SGD)

Concept and definition

Stochastic Gradient Descent (SGD)

What is Stochastic Gradient Descent (SGD)?

Stochastic Gradient Descent (SGD) is an optimisation algorithm used in training machine learning models.

The main idea behind stochastic gradient descent is to minimise a cost function by iteratively adjusting model parameters based on feedback from the training data set. Instead of updating the model parameters exhaustively with all the training data at each iteration (as in regular gradient descent), stochastic gradient descent uses small random samples of the training data (known as "minibatches" or "batches") at each iteration to update the model parameters.

Stochastic gradient descent is especially useful when the training data set is very large, as it allows the model to train more efficiently by processing small samples of the data at a time. In addition, stochastic gradient descent can help prevent the model from becoming trapped in local optima and converge more quickly to a global optimum.

Stochastic gradient descent is a widely used algorithm in the optimisation of deep learning models, and is essential for training large neural networks that require large training data sets.

« Back to glossary

Do you want to get in touch?

CDRs contain data that a telecommunications company collects about phone calls, such as time and length of call. This data can be used in analytical applications.
Fill the form
Share:
6 real-world examples of Machine Learning

Typically, Machine Learning is used to solve business problems in various sectors and areas where different algorithms are applied.

Read More »
Types of artificial intelligence according to their capabilities and functionality 

Unlike a computer program, in which a list of commands are processed through a computer program, AI goes beyond the [...]

Read More »
How AI can reduce product returns by 2023

Artificial intelligence (AI) solutions are valuable in reducing product returns. Through data analysis and decision [...]

Read More »
The Artificial Intelligence Law: A Brief Explanation

Since 2008, several countries have enacted legislation that recognizes the importance of integrating artificial intelligence (AI) into key areas of life [...]

Read More »
See more entries
© Gamco 2021, All Rights Reserved - Legal notice - Privacy - Cookies