StockWaves
  • Home
  • Global Markets
    Global MarketsShow More
    KWESST Micro Techniques Rockets on Recreation-Altering Army Contract: What’s Driving the Surge?
    KWESST Micro Techniques Rockets on Recreation-Altering Army Contract: What’s Driving the Surge?
    10 Min Read
    Key highlights from Lennar Company’s (LEN) Q2 2025 earnings outcomes
    Key highlights from Lennar Company’s (LEN) Q2 2025 earnings outcomes
    1 Min Read
    Here is one of many FTSE 250’s biggest discount shares to contemplate!
    Here is one of many FTSE 250’s biggest discount shares to contemplate!
    4 Min Read
    Iran threatens ‘irreparable harm’ if U.S. enters Israel battle
    Iran threatens ‘irreparable harm’ if U.S. enters Israel battle
    4 Min Read
    Sprinklr Wins Cloud-Based mostly CX Answer of the 12 months on the 2025 CCW Excellence Awards
    Sprinklr Wins Cloud-Based mostly CX Answer of the 12 months on the 2025 CCW Excellence Awards
    0 Min Read
  • Investment Strategies
    Investment StrategiesShow More
    Purchase a automobile vs utilizing Rapido/Uber: Which is extra inexpensive?
    Purchase a automobile vs utilizing Rapido/Uber: Which is extra inexpensive?
    0 Min Read
    Revenue distribution in 5 schemes of Aditya Birla Solar Life Mutual Fund
    Revenue distribution in 5 schemes of Aditya Birla Solar Life Mutual Fund
    0 Min Read
    Why Our Investments Don’t Match Expectations — Our Wealth Insights
    Why Our Investments Don’t Match Expectations — Our Wealth Insights
    13 Min Read
    SEBI bans Sanjiv Bhasin for fraud; plans massive modifications
    SEBI bans Sanjiv Bhasin for fraud; plans massive modifications
    0 Min Read
    Nomura lifts IndusInd Financial institution goal; inventory leaps over 4%
    Nomura lifts IndusInd Financial institution goal; inventory leaps over 4%
    0 Min Read
  • Market Analysis
    Market AnalysisShow More
    Wall Road Dwell: S&P 500, Dow Jones, Nasdaq acquire forward of Fed rate of interest resolution
    Wall Road Dwell: S&P 500, Dow Jones, Nasdaq acquire forward of Fed rate of interest resolution
    3 Min Read
    'Discovering alternatives in mid and small caps is difficult'
    'Discovering alternatives in mid and small caps is difficult'
    0 Min Read
    US Fed Assembly LIVE: Federal Reserve prone to maintain rates of interest; all eyes on ‘dot plot’, Powell’s commentary
    US Fed Assembly LIVE: Federal Reserve prone to maintain rates of interest; all eyes on ‘dot plot’, Powell’s commentary
    2 Min Read
    SWP: Withdraw straight from fairness? Not so quick
    SWP: Withdraw straight from fairness? Not so quick
    0 Min Read
    Sattva Group, Blackstone-backed Data Realty Belief to launch India’s largest REIT, raises ₹1,400 cr in pre-IPO
    Sattva Group, Blackstone-backed Data Realty Belief to launch India’s largest REIT, raises ₹1,400 cr in pre-IPO
    3 Min Read
  • Trading
    TradingShow More
    Houston American Power Inventory Is Sinking Wednesday: Here is Why – Houston American Power (AMEX:HUSA)
    Houston American Power Inventory Is Sinking Wednesday: Here is Why – Houston American Power (AMEX:HUSA)
    2 Min Read
    Palantir Rejects Surveillance Claims After Being In contrast To Nazi Collaborators, Touts PLTR’s ‘Clear Lineage’ – JPMorgan Chase (NYSE:JPM), Palantir Applied sciences (NASDAQ:PLTR)
    Palantir Rejects Surveillance Claims After Being In contrast To Nazi Collaborators, Touts PLTR’s ‘Clear Lineage’ – JPMorgan Chase (NYSE:JPM), Palantir Applied sciences (NASDAQ:PLTR)
    3 Min Read
    G7 Targets Provide Chain Safety With Crucial Minerals Plan – iShares North American Pure Assets ETF (BATS:IGE), VanEck Gold Miners ETF (ARCA:GDX)
    G7 Targets Provide Chain Safety With Crucial Minerals Plan – iShares North American Pure Assets ETF (BATS:IGE), VanEck Gold Miners ETF (ARCA:GDX)
    3 Min Read
    ‘On This Level, Donald Is Proper,’ Says EU Chief As She Slams China’s Commerce Practices At G7, Urges Trump To Be part of Forces – Alphabet (NASDAQ:GOOG), Alphabet (NASDAQ:GOOGL)
    ‘On This Level, Donald Is Proper,’ Says EU Chief As She Slams China’s Commerce Practices At G7, Urges Trump To Be part of Forces – Alphabet (NASDAQ:GOOG), Alphabet (NASDAQ:GOOGL)
    3 Min Read
    Tesla Will Shut Down Manufacturing At The Texas Gigafactory Over The 4th Of July Weekend – Tesla (NASDAQ:TSLA)
    Tesla Will Shut Down Manufacturing At The Texas Gigafactory Over The 4th Of July Weekend – Tesla (NASDAQ:TSLA)
    2 Min Read
Reading: Chain Rule Defined with Examples and Its Function in Neural Networks
Share
Font ResizerAa
StockWavesStockWaves
  • Home
  • Global Markets
  • Investment Strategies
  • Market Analysis
  • Trading
Search
  • Home
  • Global Markets
  • Investment Strategies
  • Market Analysis
  • Trading
Follow US
2024 © StockWaves.in. All Rights Reserved.
StockWaves > Trading > Chain Rule Defined with Examples and Its Function in Neural Networks
Trading

Chain Rule Defined with Examples and Its Function in Neural Networks

StockWaves By StockWaves Last updated: April 14, 2025 6 Min Read
Chain Rule Defined with Examples and Its Function in Neural Networks
SHARE


Contents
Desk of ContentsWhat’s a spinoff?What’s the Chain Rule?Understanding the Chain RuleInstance of Chain RuleConclusion

By Varun Divakar

On this weblog on “Understanding the chain rule,” we’ll study the mathematics behind the appliance of chain rule with the assistance of an instance.

Desk of Contents

For these of you who’re fascinated by Neural Networks and Deep Studying, the method of backpropagation is a vital idea which is extensively used whereas creating these superior fashions. Whereas performing backpropagation, we use the idea of chain rule to backpropagate the error values in prediction to regulate the weights.

To have the ability to perceive this unit, it is best to know what a spinoff is.

What’s a spinoff?

Don’t sweat it, in case you don’t know or don’t bear in mind the identical, you possibly can study it on the glossary part of Quantra web site.

AnchorWhat’s the Chain Rule?

The chain rule is principally a system for computing the spinoff of a composition of two or extra features.

AnchorUnderstanding the Chain Rule

Allow us to say that f and g are features, then the chain rule expresses the spinoff of their composition as f ∘ g (the operate which maps x to f(g(x)) ). The spinoff of this composition is calculated as talked about beneath.

Chain Rule Defined with Examples and Its Function in Neural Networks

Right here f is the operate of g and g is a operate of variable x.

One other manner of writing the above rule:

derivative

The place the operate F represents the composite operate f(g(x))

Allow us to say that we now have three variables x, y and z such that, the variable z will depend on the variable y, which in flip will depend on the variable x. So y and z are dependent variables, and z, by way of the intermediate variable of y, will depend on x. Then the chain rule for differentiating the variable z could also be written within the following method.

differentiate

That is the ultimate system that we use in backpropagation.

Right here z is the operate of y,

z = f(y)

and y is a operate of x,

y= g(x)

Utilizing the earlier system, we will rewrite the differential equation as follows:

differential equation

Allow us to perceive this higher with the assistance of an instance.

AnchorInstance of Chain Rule

Allow us to perceive the chain rule with the assistance of a well known instance from Wikipedia. Assume that you’re falling from the sky, the atmospheric stress retains altering through the fall. Try the graph beneath to know this variation.

chain rule example

On the time of your fall, 4000 meters above sea degree, the preliminary velocity was zero, and the gravity is 9.8 meters per second squared. Now evaluate this example to the earlier chain rule equation. Allow us to say that the variable x within the equation is variable t, or time.

Then the variable y or g(t), which is the space travelled by you because the starting of the autumn is given by

g(t) = 0.5*9.8t2

So, the peak from the imply sea degree might be given by the variable h, which is

h = 4000 – g(t)

Allow us to say that we additionally know, primarily based on a mannequin, the atmospheric stress at a top h as:

f(h) = 101325 e−0.0001h

These two equations might be differentiated by their respective variable to get the next data:

g′(t) = −9.8t,

the place, g′(t) is the rate of you at time t

f′(h) = −10.1325e−0.0001h

the place, f′(h) is the speed of change in atmospheric stress with respect to top h

Now allow us to perceive how we will mix these two equations to derive the

the speed of change within the atmospheric stress with respect to time at t seconds after the skydiver’s leap, utilizing the chain rule:

chain rule

chain rule calculation

This equation offers us the speed of change of atmospheric stress with respect to time since fall. In neural networks, we might want to calculate the change in weights at every neuron with respect to the errors in prediction. As you may need imagined by now, the chain rule helps adjusts these weights accordingly.

Conclusion

If we wish to apply the chain rule to backpropagate the error in neural networks, then we can be utilizing an equation corresponding to this.

chain rule to backpropagate

Within the Quantra’s course on Deep Studying in Buying and selling with Dr. E. P. Chan, we’ll provide help to not solely perceive superior ideas corresponding to deep studying, but additionally apply them within the context of buying and selling.

Disclaimer: All investments and buying and selling within the inventory market contain threat. Any choices to put trades within the monetary markets, together with buying and selling in inventory or choices or different monetary devices is a private resolution that ought to solely be made after thorough analysis, together with a private threat and monetary evaluation and the engagement {of professional} help to the extent you consider crucial. The buying and selling methods or associated data talked about on this article is for informational functions solely.

Prompt Reads:

    

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.

By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Copy Link Print
Previous Article Phillip Capital initiates ‘purchase’ on this smallcap aerospace and defence main for 70% potential beneficial properties Phillip Capital initiates ‘purchase’ on this smallcap aerospace and defence main for 70% potential beneficial properties
Next Article Tata Motors, Bajaj Auto to Ola Electrical: Key explanation why HSBC cuts goal costs for a lot of auto shares Tata Motors, Bajaj Auto to Ola Electrical: Key explanation why HSBC cuts goal costs for a lot of auto shares
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

FacebookLike
TwitterFollow
PinterestPin
InstagramFollow

Subscribe Now

Subscribe to our newsletter to get our newest articles instantly!

Most Popular
Wall Road Dwell: S&P 500, Dow Jones, Nasdaq acquire forward of Fed rate of interest resolution
Wall Road Dwell: S&P 500, Dow Jones, Nasdaq acquire forward of Fed rate of interest resolution
June 18, 2025
Houston American Power Inventory Is Sinking Wednesday: Here is Why – Houston American Power (AMEX:HUSA)
Houston American Power Inventory Is Sinking Wednesday: Here is Why – Houston American Power (AMEX:HUSA)
June 18, 2025
NMECON Cryptocurrency Alternate Enters the U.S. Market with Slicing-Edge AI 5.0 Buying and selling Platform
NMECON Cryptocurrency Alternate Enters the U.S. Market with Slicing-Edge AI 5.0 Buying and selling Platform
June 18, 2025
KDM luggage Zee Bharat Ki Udaan Award for Bharat Ka Charger Maha Kumbh initiative from Union Minister Nitin Gadkari
KDM luggage Zee Bharat Ki Udaan Award for Bharat Ka Charger Maha Kumbh initiative from Union Minister Nitin Gadkari
June 18, 2025
Bernstein predicts Paytm shares to rally by 23%, cites ‘a number of near-term catalysts’
Bernstein predicts Paytm shares to rally by 23%, cites ‘a number of near-term catalysts’
June 18, 2025

You Might Also Like

Goldman Bets On India Increase With New Actively Managed ETF – Goldman Sachs India Fairness ETF (NASDAQ:GIND)
Trading

Goldman Bets On India Increase With New Actively Managed ETF – Goldman Sachs India Fairness ETF (NASDAQ:GIND)

3 Min Read
Benzinga Bulls and Bears: Tesla, Palantir, AMD, Ford and XRP Rallies After Viral Jack Dorsey Video
Trading

Benzinga Bulls and Bears: Tesla, Palantir, AMD, Ford and XRP Rallies After Viral Jack Dorsey Video

5 Min Read
Here is How A lot You Would Have Made Proudly owning O’Reilly Automotive Inventory In The Final 10 Years – O’Reilly Automotive (NASDAQ:ORLY)
Trading

Here is How A lot You Would Have Made Proudly owning O’Reilly Automotive Inventory In The Final 10 Years – O’Reilly Automotive (NASDAQ:ORLY)

1 Min Read
This is How A lot 00 Invested In L3Harris Applied sciences 20 Years In the past Would Be Value Right now – L3Harris Applied sciences (NYSE:LHX)
Trading

This is How A lot $1000 Invested In L3Harris Applied sciences 20 Years In the past Would Be Value Right now – L3Harris Applied sciences (NYSE:LHX)

1 Min Read

Always Stay Up to Date

Subscribe to our newsletter to get our newest articles instantly!

StockWaves

We provide tips, tricks, and advice for improving websites and doing better search.

Latest News

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms Of Service

Resouce

  • Blockchain
  • Business
  • Economics
  • Financial News
  • Global Markets
  • Investment Strategies
  • Market Analysis
  • Trading

Trending

Wall Road Dwell: S&P 500, Dow Jones, Nasdaq acquire forward of Fed rate of interest resolution
Houston American Power Inventory Is Sinking Wednesday: Here is Why – Houston American Power (AMEX:HUSA)
NMECON Cryptocurrency Alternate Enters the U.S. Market with Slicing-Edge AI 5.0 Buying and selling Platform

2024 © StockWaves.in. All Rights Reserved.

Welcome Back!

Sign in to your account

Not a member? Sign Up