Skip to content

Commit a8c2ef9

Browse files
committed
Merge branch 'erikreinertsen-patch-1'
2 parents d5ff997 + 5581df4 commit a8c2ef9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

faq/regularized-logistic-regression-performance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ We know that our goal in an unregularized model is to minimize the cost function
1212

1313
![](./regularized-logistic-regression-performance/unregularized.png)
1414

15-
Now, if we regularize the cost function (e.g., via L2 regularization), we add an additional to our cost function (J) that increases as the value of your parameter weights (w) increase; keep in mind that the regularization we add a new hyperparameter, lambda, to control the regularization strength.
15+
Now, if we regularize the cost function (e.g., via L2 regularization), we add an additional to our cost function (J) that increases with the value of your parameter weights (w). Regularization strength is controlled via the addition of a new hyperparameter, lambda.
1616

1717
![](./regularized-logistic-regression-performance/l2-term.png)
1818

1919
Therefore, our new problem is to minimize the cost function given this added constraint.
2020

2121
![](./regularized-logistic-regression-performance/regularized.png)
2222

23-
Intuitively, we can think of the "sphere" at the coordinate center in the figure above as our "budget." Now, our objective is still the same: we want to minimize the cost function. However, we are now constraint by the regularization term; we want to get as close as possible to the global minimum while staying within our "budget" (i.e., the sphere).
23+
Intuitively, we can think of the "sphere" at the coordinate center in the figure above as our "budget." Now, our objective is still the same: we want to minimize the cost function. However, we are now constrained by the regularization term; we want to get as close as possible to the global minimum while staying within our "budget" (i.e., the sphere).

0 commit comments

Comments
 (0)