reset password
Author Message
hsanche3
Posts: 3
Posted 18:00 Feb 15, 2015 |

im redoing the last assignment, but I'm not sure whether I'm getting the right Thetas and costs

im getting:

Cost before gradient descent:  617.594137879
Thetas:  [-0.11616162 -0.16460987 -0.25883932 -0.03933179]
Cost after gradient descent:  0.597541363383

is this what everyone else is getting???

lcampo14
Posts: 14
Posted 21:35 Feb 20, 2015 |

I might also be doing it wrong but I get the following results:

Initial Cost: 0.69314718056

Thetas:
[[-0.01076233]
 [-0.03542601]
 [-0.02029148]
 [-0.36320067]]

Cost after Gradient Descent
0.602320779529

Last edited by lcampo14 at 21:49 Feb 20, 2015.