Question: Please use R in your answer. GRADIENT DESCENT , LOGIT , PROBIT Sepal Length Sepal Width Petal Length Petal Width Species 5.1 3.5 1.4 0.2
Please use R in your answer. GRADIENT DESCENT , LOGIT , PROBIT
| Sepal Length | Sepal Width | Petal Length | Petal Width | Species |
| 5.1 | 3.5 | 1.4 | 0.2 | 0 |
| 4.6 | 3.4 | 1.4 | 0.3 | 0 |
| 5.8 | 4 | 1.2 | 0.2 | 0 |
| 4.8 | 3.4 | 1.9 | 0.2 | 0 |
| 5.4 | 3.4 | 1.5 | 0.4 | 0 |
| 7 | 3.2 | 4.7 | 1.4 | 1 |
| 4.9 | 2.4 | 3.3 | 1 | 1 |
| 5.6 | 2.9 | 3.6 | 1.3 | 1 |
| 6.5 | 3 | 5.5 | 1.8 | 1 |
| 6.7 | 3.3 | 5.7 | 2.1 | 1 |
a.) Apply the gradient descent iterative algorithm to compute the parameters of the logit model of the given data.
b.) Apply the gradient descent iterative algorithm to compute the parameters of the probit model of the given data.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
