You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Only really import packages when needed
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/source/tutorial/tutorial.custom_loss.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,8 @@ import adaptive
25
25
adaptive.notebook_extension()
26
26
27
27
# Import modules that are used in multiple cells
28
-
import numpy as np
29
28
import holoviews as hv
29
+
import numpy as np
30
30
```
31
31
32
32
{class}`~adaptive.Learner1D` and {class}`~adaptive.Learner2D` both work on the principle of subdividing their domain into subdomains, and assigning a property to each subdomain, which we call the *loss*.
0 commit comments