10.1C:
Consider a neural network with two hidden layers: p=4 input units, 2 units in the first hidden layer, 3 units in the second hidden layer, and a single output.
(a) Draw a picture of the network, similar to Figures 10.1 or 10.4.
(b) Write out an expression for f(X) , assuming ReLU activation functions. Be as explicit as you can!
(c) Now plug in some values for the coefficients and write out the value of f(X) .
(d) How many parameters are there?
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.1c | NatokHD