reset password
Author Message
jonathankroening
Posts: 39
Posted 12:38 Mar 03, 2014 |

I'm getting a "Warning: Maximum number of iterations has been exceeded" with the fmin_cg function. maxiter= 50 as per the template. Is anyone else experiencing this?  My getCost function outputs a decreasing cost at each iteration and my gradient check is accurate, but the scipy function doesn't seem to want to converge.

msargent
Posts: 519
Posted 13:57 Mar 03, 2014 |

You can increase the maxiter and see if it converges. As far as the assignment goes, that's ok.