Skip to content

Commit b3cc558

Browse files
authored
Update README.md
1 parent 7735c35 commit b3cc558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# **Gradient desecent for linear regression**
22
Gradient descent is one of most used algorithm in Machine Learning.Gradient descent is a first-order iterative optimization algorithm for finding the minimum of a function. To find a local minimum of a function using gradient descent.
33

4-
#Example
4+
# Example
55
![image](gradient.png)
66

77
Supoose we are at any point, and we want to minimize the cost function. Thus this can be achieve by taking derivative of cost function.
88
The slope of the tangent will give a direction in which the value is decreases. Thus this algorithm make steps down the function.
99
The size of each step is determine by the learning rate.
1010

11-
#Gradient descent for linear regression
11+
# **Gradient descent for linear regression**
1212
In this model, gradient descent is used to calculating the theta vector(or parameter vector). Once the parameter vector is calculated using
1313
training examples, we can predict the output of unknown input.

0 commit comments

Comments
 (0)