10.6a:
IConsider the simple function R(β)=sin(β)+β/10
(a) Draw a graph of this function of the range β∈[−6,6] .
(b) What is the derivative of this function?
(c) Given β0=2.3 , run gradient descent to find a local minimum of R(β) using a learning rate of ρ=0.1 . Show each of β0,β1,... in your plot, as well as the final answer.
(d) Repeat with β0=1.4 .
Download Book: https://www.statlearning.com/
Authors' Lectures (R): https://youtube.com/playlist?list=PLoROMvodv4rOzrYsAxzQyHb8n_RWNuS1e&si=NP0wJ6RjP8XkxU7y
Authors' Lectures (Python): https://youtube.com/playlist?list=PLoROMvodv4rPP6braWoRt5UCXYZ71GZIQ&si=0Z8tx4xlPLEyjZ70
https://colab.research.google.com/drive/16rgV6bj457Vlb7OgQsLPWT8p7REFVKUM?usp=sharing
Download
0 formats
No download links available.
Intro to Statistical Learning (2nd Ed), Solution to Problem 10.6a | NatokHD