Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
5,414 additions
and
1,580 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule MAgent
added at
84f0dd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Errata | ||
Here we keep an updated list of book errata listed by chapter. The errata will be addressed periodically in the eBook and liveBook versions and less frequently in print versions. We highly recommend using the GitHub code when following along the book as it is very difficult to maintain code within the book text. | ||
|
||
## Chapter 2 | ||
|
||
### Section 2.4.1 | ||
Code should be: | ||
>>> x = torch.Tensor([2,4]) #input data | ||
>>> m = torch.randn(2, requires_grad=True) #parameter 1 | ||
>>> b = torch.randn(1, requires_grad=True) #parameter 2 | ||
>>> y = m*x+b #linear model | ||
>>> y_known = torch.Tensor([5,9]) | ||
>>> loss = (torch.sum(y_known - y))**2 #loss function | ||
>>> loss.backward() #calculate gradients | ||
>>> m.grad | ||
tensor([ -51.9402, -103.8803]) | ||
|
||
### Listing 2.10 | ||
Code should be: | ||
def train(env, epochs=10000, learning_rate=1e-3): | ||
|
||
### Section 2.5 | ||
Text should say: “When we train this network for 10,000 epochs” | ||
|
||
### In Summary, in bullet point 5 | ||
“with probability ε – 1” should be “with probability 1 - ε “ | ||
|
||
## Chapter 3 | ||
|
||
### Listing 3.8 | ||
First line of code should be: from IPython.display import clear_output | ||
|
||
|
||
## Chapter 4 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.