Skip to content

Commit

Permalink
make the assertion a little looser
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski committed Dec 6, 2024
1 parent d1fc927 commit 7e9399f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deep-learning-intro-for-hep/03-basic-fitting.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ plt.show()
```

```{code-cell} ipython3
assert np.sum((y_from_ansatz - y)**2) < 50
assert np.sum((y_from_ansatz - y)**2) < 100
```

It's a great fit, but you had to put part of the answer in to get this answer out. First, you had to know the functional form. Suppose you used the formula for the position of a tossed object _without_ air resistance?
Expand Down

0 comments on commit 7e9399f

Please sign in to comment.