Very tiny typo in stochastic optimization exercise
tzhao42 opened this issue · 0 comments
tzhao42 commented
In problem 9.1.d of stochastic_optimization.ipynb
:
def approximated_gradient_with_baseline(x, rate, baseline):
"""
Update rule. Receive theta and update it with the next theta.
@params
- x: input variable x.
- rate: rate of descent, variable "eta".
- baseline: float for baseline.
@returns:
- updated varaible x.
"""
return x
varaible -> variable
Looking forward to the semester!