Skip to content

This repository contains the code that does exponential regression using gradient descent optimizer.

Notifications You must be signed in to change notification settings

Spandyie/Exponential-regression-using-Gradient-descent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Exponential-regression-using-Gradient-descent

This repository contains the code that does exponential regression using gradient descent optimizer. Consider the exponential regression, , after the log-transformation the equation becomes .

Gradient Descent algorithm:

Step 1: Initialize the weights(loga & b) with random values and calculate Error (SSE)

Step 2: Calculate the gradient i.e. change in SSE when the weights (loga & b) are changed by a very small value from their original randomly initialized value. This helps us move the values of loga & b in the direction in which SSE is minimized.

Step 3: Adjust the weights with the gradients to reach the optimal values where SSE is minimized

Step 4: Use the new weights for prediction and to calculate the new SSE

Step 5: Repeat steps 2 and 3 till further adjustments to weights doesn’t significantly reduce the Error

About

This repository contains the code that does exponential regression using gradient descent optimizer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages