If we have any function and we want find the extremum of that function whether it is minima or maxima we use gradient descent optimization technique . so in this blog we will see gradient descent and its variants in python. this blog assumes that you already know little bit about derivative and linear regression
Let we have function y=f(x)=x**2+3
Time and space complexity plays very important role while selecting machine learning algorithm
Space complexity: space complexity of an algorithm denotes the total space used or needed by the algorithm for its working , for various input size. In simple words space it requires to complete the task.
Time complexity: The time complexity is the number of operations on algorithm perform to complete its task with respect to input size. In simple words time it requires to complete the task.
In this blog we will see train and run time complexity of ml algorithms .
Assumption : the knn algorithm…