Input and output mapping the relu function assignment is not clear to me

Hello @tbhaxor,

They won’t look similar because the following graph

image

has an x-axis scaled from 0 to 3 and y-axis from 0 to 4, but yours is totally different.

I found that the lab uses this np.linspace(0, 3, 3*100) to initialize X. To reproduce the lab’s result, it is easier if sticking with the lab’s setting. The lab’s notebook doesn’t show a lot of source code, but you might always click “File” > “Open” (on the menu bar of the notebook) to browse and open the source code which is imported by the lab.

Cheers,
Raymond