You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that there is comment regarding iteration for rounding up values using a for loop and just wanted to mention that there is an in-built function called round in octave.
Thus the code would have been: p = sigmoid(X * theta); p = round(p);
The text was updated successfully, but these errors were encountered:
I see that there is comment regarding iteration for rounding up values using a for loop and just wanted to mention that there is an in-built function called round in octave.
Thus the code would have been:
p = sigmoid(X * theta);
p = round(p);
The text was updated successfully, but these errors were encountered: