Skip to content

Commit

Permalink
trade-off
Browse files Browse the repository at this point in the history
  • Loading branch information
astonzhang committed Aug 17, 2023
1 parent d881923 commit 41cbd3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ On the other hand, a fixed classifier is useless---it
generalizes perfectly, but fits neither
the training data nor the test data.
The central question of learning
has thus historically been framed as a tradeoff
has thus historically been framed as a trade-off
between more flexible (higher variance) model classes
that better fit the training data but risk overfitting,
versus more rigid (higher bias) model classes
Expand Down
2 changes: 1 addition & 1 deletion chapter_linear-regression/weight-decay.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ To penalize the size of the weight vector,
we must somehow add $\| \mathbf{w} \|^2$ to the loss function,
but how should the model trade off the
standard loss for this new additive penalty?
In practice, we characterize this tradeoff
In practice, we characterize this trade-off
via the *regularization constant* $\lambda$,
a nonnegative hyperparameter
that we fit using validation data:
Expand Down
2 changes: 1 addition & 1 deletion chapter_recurrent-modern/beam-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ arising when the beam size is set to 1.

Sequence searching strategies include
greedy search, exhaustive search, and beam search.
Beam search provides a tradeoff between accuracy and
Beam search provides a trade-off between accuracy and
computational cost via the flexible choice of the beam size.


Expand Down

0 comments on commit 41cbd3d

Please sign in to comment.