Commit 1232fa6
corrected logistic regression loss function
Corrected the loss function of logistic regression. Added the missing negative sign and also a short comment on the loss function (i.e the loss function of logistic regression minimizes the negative-log likelihood)1 parent 0dfd931 commit 1232fa6
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| |||
0 commit comments