Optimisation Methods in Machine Learning
Optimisation Methods in Machine Learning
(https://praxis.ac.in/top-post-graduate-program-in-data-science/?
utm_source=Analytics+India+Magazine&utm_medium=banner&utm_campaign=DS+Jan23)
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 1/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
Judea Pearl
THE BELAMY
Sign up for your weekly dose of what's up in emerging technology.
SIGN UP
via 3blue1brown
Gradient Descent
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 2/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
The gradient descent method is the most popular optimisation method. The idea
of this method is to update the variables iteratively in the (opposite) direction of
the gradients of the objective function. With every update, this method guides the
model to find the target and gradually converge to the optimal value of the
objective function.
(https://analyticsindiamag.com)
ALSO READ
(https://analyticsindiamag.com/good-bad-ugly-of-the-new-iphones/)
Good, Bad & Ugly of the New iPhones (https://analyticsindiamag.com/good-bad-ugly-of-the-
new-iphones/)
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 3/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://analyticsindiamag.com)
(https://analyticsindiamag.com/a-new-digital-rupee-could-shake-the-indian-financial-
system/)
A New Digital Rupee Could Shake the Indian Financial System (https://analyticsindiamag.com/a-
new-digital-rupee-could-shake-the-indian-financial-system/)
(https://analyticsindiamag.com/github-is-part-of-creator-economy-just-that-it-wont-
pay/)
GitHub Is Part of Creator Economy, Just That It Won’t Pay
(https://analyticsindiamag.com/github-is-part-of-creator-economy-just-that-it-wont-pay/)
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 4/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://analyticsindiamag.com)
Taking the values and adjusting them iteratively based on different parameters in
order to reduce the loss function is called back-propagation.
In this method, one sample randomly used to update the gradient(theta) per
iteration instead of directly calculating the exact value of the gradient. The
stochastic gradient is an unbiased estimate of the real gradient. This optimisation
(https://analyticsindiamag.com/how-stochastic-gradient-descent-is-solving-
optimisation-problems-in-deep-learning/)method reduces the update time for
dealing with large numbers of samples and removes a certain amount of
computational redundancy. Read more here (https://analyticsindiamag.com/why-
learning-rate-is-crucial-in-deep-learning/).
The adaptive variants of SGD have been widely used in DNNs. Methods like
AdaDelta, RMSProp, Adam use the exponential averaging to provide effective
updates and simplify the calculation.
Adagrad: weights with a high gradient will have low learning rate and vice
versa
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 5/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
Derivative-Free Optimisation
For some optimisation problems, it can always be approached through a gradient
because the derivative of the objective function may not exist or is not easy to
calculate. This is where derivative-free optimisation comes into the picture. It uses
a heuristic algorithm that chooses methods that have already worked well, rather
than derives solutions systematically. Classical simulated annealing arithmetic,
genetic algorithms and particle swarm optimisation are few such examples.
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 6/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
These are few of the frequently used optimisation methods. Apart from these,
there are other methods, which can be found in this study
(https://arxiv.org/pdf/1906.06821.pdf#:~:text=Building%20models%20and%20construct
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 7/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
That said, the problem of optimisation for deep learning doesn’t end here because
not all problems come under convex optimisation. Non-convex optimisation is one
of the difficulties in the optimisation problem.
Deeper Insights Series: #AMA with Data Science Hiring Leaders from Intuit
(https://analyticsindiamag.com/deeper-insights-series-ama-with-data-science-
hiring-leaders-from-intuit/)
How is this team from IISc building next generation analog chipsets for AI
applications (https://analyticsindiamag.com/how-is-this-team-from-iisc-building-
next-generation-analog-chipsets-for-ai-applications/)
(https://analyticsindiamag.com/data-science-journey-of-amazons-ankit-sirmorya/)
(https://analyticsindiamag.com)
(https://analyticsindiamag.com/author/ram-sagar/)
I have a master's degree in Robotics and I write about machine learning advancements.
(https://business.louisville.edu/learnmo
utm_campaign=MSBA-
INDIA&utm_source=analyticsindia&utm_medium=display&utm_keyword=analyticsindi
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 9/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
Register
(https://des.analyticsindiamag.com/)
Register
(https://machinecon.analyticsindiamag.com/)
Discord Server
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 10/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://analyticsindiamag.com)
Telegram Channel
JOIN TELEGRAM
(HTTPS://T.ME/+TRPAPV7GNN2OZ1AZ)
SUBSCRIBE
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 11/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
MOST POPULAR
(https://analyticsindiamag.com)
(https://analyticsindiamag.com/a-guide-to-stochastic-process-and-its-applications-in-
machine-learning/)
A Guide to Stochastic Process and Its Applications in Machine Learning
(https://analyticsindiamag.com/a-guide-to-stochastic-process-and-its-
applications-in-machine-learning/)
VIJAYSINH LENDAVE
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 12/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://analyticsindiamag.com)
(https://analyticsindiamag.com/all-about-digital-twins-interview-with-vinay-jammu-ge-
digital/)
All About Digital Twins: Interview With Vinay Jammu, GE Digital
(https://analyticsindiamag.com/all-about-digital-twins-interview-with-vinay-
jammu-ge-digital/)
SHRADDHA GOLED
(https://analyticsindiamag.com/facebook-loves-self-supervised-learning-period/)
Facebook Loves Self-Supervised Learning. Period.
(https://analyticsindiamag.com/facebook-loves-self-supervised-learning-
period/)
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 13/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://analyticsindiamag.com)
(https://analyticsindiamag.com/4th-edition-machine-learning-developers-summit-
announced/)
The 4th Edition Of Machine Learning Developers Summit Is Back In Virtual
Format | 19-20th Jan (https://analyticsindiamag.com/4th-edition-machine-
learning-developers-summit-announced/)
ANUSHKA PANDIT
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 14/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://analyticsindiamag.com)
(https://analyticsindiamag.com/projects-using-classification-technique/)
Top Data Science Projects Using Classification Technique For Beginners
(https://analyticsindiamag.com/projects-using-classification-technique/)
DR. NIVASH JEEVANANDAM
(https://analyticsindiamag.com/deloitte-accenture-it-outsourcing-market/)
What Do Deloitte & Accenture Bumper Results Speak Of The IT Outsourcing
Market (https://analyticsindiamag.com/deloitte-accenture-it-outsourcing-
market/)
KUMAR GANDHARV
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 15/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://analyticsindiamag.com)
(https://analyticsindiamag.com/how-to-choose-the-right-data-science-training-program/)
(https://analyticsindiamag.com/how-artificial-intelligence-is-impacting-hearing-aid/)
How Artificial Intelligence Is Impacting Hearing Aid
(h // l i i di /h ifi i l i lli
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ i i i 16/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://analyticsindiamag.com/how-artificial-intelligence-is-impacting-
hearing-aid/)
PRASIDHA
(https://analyticsindiamag.com)
(https://analyticsindiamag.com/not-so-common-machine-learning-examples-that-challenge-
your-knowledge/)
Not So Common Machine Learning Examples That Challenge Your Knowledge
(https://analyticsindiamag.com/not-so-common-machine-learning-examples-
that-challenge-your-knowledge/)
ROGER MAX
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 17/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://analyticsindiamag.com)
(https://analyticsindiamag.com/now-ai-tells-you-if-it-will-pour-in-the-next-two-hours/)
Now AI Tells You If It Will Pour In The Next Two Hours
(https://analyticsindiamag.com/now-ai-tells-you-if-it-will-pour-in-the-next-
two-hours/)
SREEJANI BHATTACHARYYA
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 18/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://analyticsindiamag.com/upcoming-ai-conferences-and-events-to-look-forward-to/)
Upcoming AI Conferences And Events To Look Forward To
(https://analyticsindiamag.com/upcoming-ai-conferences-and-events-to-look-
forward-to/)
(https://analyticsindiamag.com)
DEBOLINA BISWAS
(https://analyticsindiamag.com/how-bengaluru-based-kreditbee-leverages-ai-and-ml-to-
democratise-credit/)
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 19/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
C O NTA CT U S ⟶
( HT T P S : // A N A LY T I C S I N D I A M A G . C O M / C O NTA CT- U S / )
(https://analyticsindiamag.com)
AIM discovers new ideas and breakthroughs that create new relationships, new industries, and new
ways of thinking. AIM is the crucial source of knowledge and concepts that make sense of a reality
that is always changing.
Our discussions shed light on how technology is transforming many facets of our life, from business
to society to culture.
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 20/22
10/10/22, 3:43 PM Top Optimisation Methods In Machine Learning
(https://www.linkedin.com/company/analytics-
(https://www.facebook.com/AnalyticsIndiaMagazine/)
(https://www.youtube.com/channel/UCAlwrsgeJavG1vw9qSFOUmA)
(https://twitter.com/@analyticsindiam)
(https://www.instagram.com/analyticsindiamagazine/)
india-magazine)
About Us
(https://analyticsindiamag.com)
Advertise
Weekly Newsletter
Write for us
Careers
Contact Us
OUR CONFERENCES
Cypher
The MachineCon
Machine Learning Developers Summit
The Rising | Women in Tech Conference
Data Engineering Summit
OUR BRANDS
MachineHack
AIM Recruits
AIM Leaders Council
Best Firm Certification
AIM Research
VIDEOS
Curiosum – AI Storytelling
GET INVOLVED
(https://analyticsindiamag.com)
AIM Campus Ambassador
AIM Mentoring Circle
Python Libraries Repository
AWARDS
EVENTS
Our Events
AIM Custom Events
On Demand
FOR ML DEVELOPERS
Hackathons
Discussion Forum
Job Portal
Mock Assessments
Practice ML
Free AI Courses
NEWSLETTER
Stay up to date with our latest news, receive exclusive deals, and more.
https://analyticsindiamag.com/optimisation-machine-learning-methods-gradient-descent/ 22/22