AIL302m_-_RE_-_SU_2023_595.webp
xin_chao

AIL302m_-_RE_-_SU_2023_595.webp

  • Media owner xin_chao
  • Ngày thêm
(Choose 1 answer)
Suppose you are training a logistic regression classifier using stochastic gradient descent. You find that the
cost averaged over the last 500 examples, plotted as a function of the number of iterations, is slowly
increasing over time. Which of the following changes are likely to help?
A. Try averaging the cost over a smaller number of examples (say 250 examples instead of 500) in the plot.
B. Try averaging the cost over a larger number of examples (say 1000 examples instead of 500) in the plot
C. Try halving (decreasing) the learning rate, and see if that causes the cost to now consistently go down;and if not, keep halving it until it does.
D. Use fewer examples from your training set.

E46
Chưa có bình luận nào.

Thông tin

Category
AIL302m
Thêm bởi
xin_chao
Ngày thêm
Lượt xem
102
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
AIL302m_-_RE_-_SU_2023_595.webp
File size
66.8 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom