DLFS_code icon indicating copy to clipboard operation
DLFS_code copied to clipboard

Code for the book Deep Learning From Scratch, from O'Reilly September 2019

Results 17 DLFS_code issues
Sort by recently updated
recently updated
newest added

Hi Seth, Looking at the derivative for the loss function, dLdP, I think it is missing the '2'. `-(forward_info[y] - forward_info[p]) `should be `-2(forward_info[y]-forward_info[p])`

When trying to import out of lincoln.losses it complains: `ImportError: cannot import name 'exp_ratios' from 'lincoln.utils.np_utils'` I have looked and this method does not exist in lincoln.utils.np_utils (or anywhere else...

In the below code, could you clarify why are calculating dLdN when you are not using in subsequent calculations dLdS = np.ones_like(S) dSdN = deriv(sigma, N) **dLdN = dLdS *...

Dear Mr. Weidman, I am currently trying to understand the code in [45], the function "loss_gradients". I just want to ask, if in the line loss_gradients['B1'] = dLdB1.sum(axis=0) it should...

In the first plot of the `Square` and `ReLU` functions: ``` Python ax[0].set_title("Square function") ax[0].set_xlabel("input") ax[0].set_ylabel("input") ``` `ylabel` is a duplicate of `xlabel`. should have been: ``` Python ax[0].set_title("Square function")...

Corrected the variable self._input to self.input_ in the comments.

Could please also implement the commonly used Normalization layers and the Adam Optimizer?

I guess there is an errata page at the publisher, but I'm more concerned about author seeing this. The initial explanations of functions with mixtures of math, diagrams, and code...

I had a hard time wrapping my head around the Matrix Chain rule in both the digital and printed version, and there is a couple of typos or at least...