help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hi, I tried to find the optimum theta using fminunc function with rand i


From: Grandi Madhav
Subject: Hi, I tried to find the optimum theta using fminunc function with rand initial theta for simple logistic regression model(not NN). But i got the following warning as, warning: division by zero warning: called from fminunc at line 288 column 15 But it provided an output theta which when i verified taking the training set as testing data and it gave utter incorrect results and hence the output theta is not the optimum theta. But when i initialized the initial theta as zero vector, i got the correct optimum theta. Hence this function works good only for zero vector initialization. So there must be some bug in the code of the function fminunc. Is there any alternative function for fminunc? Or please can you explain the code for fminunc so that i can debug it in my file. I cant understand it mys
Date: Sat, 25 May 2019 18:29:45 +0530


reply via email to

[Prev in Thread] Current Thread [Next in Thread]