
To learn how each factor influences sales, you need to use a statistical analysis method called regression analysis. Understanding the relationships between each factor and product sales can enable you to pinpoint areas for improvement, helping you drive more sales. They range from customers’ physical locations to satisfaction levels among sales representatives to your competitors' Black Friday sales. Imagine you seek to understand the factors that influence people’s decision to buy your company’s product. How can you consider those factors and know their true impact? If you are still here me with then you have got the concepts of Linear Regression and you are ready to apply it to solve real world problems which matter.Countless factors impact every facet of business. You can now use your Linear Regression model to predict the dependent variable of any unforeseen data point with very high accuracy. Once you have reached the bottom most point of the valley that means you have got the parameters corresponding to the least MSE or Cost function, and these values of parameters will fetch you the highest accuracy. This is validated by the slope of that point, if the slope is zero then the algorithm has reached the bottom most point.Īfter every step, it updates the parameter (or weights) and by doing the above step repeatedly it reaches to the bottom most point. It has to take small steps to move towards the bottom point and thus learning rate decides the length of step that gradient descent will take.Īfter every move it validates that the current position is global minima or not. To go to the bottom most point it has to go in the opposite direction of the slope, i.e. To know the slope of a function at any point you differentiate that point with respect to its parameters, thus Gradient Descent differentiates the above Cost function and comes to know the slope of that point. It has to know where the slope of the valley is going (and it doesn’t have eyes as you do) so it takes the help of mathematics here.

Once you see that every contour around you is higher than where you are standing you claim that you have reached the bottom most point. You will see and make out where the slope of the valley is going down, then you start taking steps towards the down going slope. Your aim is to reach the bottom most point of the valley and Gradient Descent help you in reaching to the bottom most point of the valley. You can visualise the function as a valley, and you are standing on some random point.
