Skip to content

Commit

Permalink
deploy: 10c8995
Browse files Browse the repository at this point in the history
  • Loading branch information
iancze committed Nov 1, 2023
1 parent 3f5a2ef commit de14c18
Show file tree
Hide file tree
Showing 92 changed files with 107 additions and 120 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: aaf901aee1afcd16a615dedd3e634e41
config: 65e8070b5576a2323dd614509064877e
tags: 645f666f9bcd5a90fca523b33c5a78b7
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file modified _images/plot.png
2 changes: 1 addition & 1 deletion _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../_static/copybutton.js"></script>
<script src="../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../_static/favicon.ico"/>
<link rel="index" title="Index" href="../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/coordinates.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/crossval.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/datasets.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/fourier.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/geometry.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/gridding.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/images.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/losses.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/plot.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/precomposed.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/training.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
2 changes: 1 addition & 1 deletion _modules/mpol/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<script src="../../_static/copybutton.js"></script>
<script src="../../_static/scripts/sphinx-book-theme.js?digest=9c920249402e914e316237a7dbc6769907cce411"></script>
<script src="https://buttons.github.io/buttons.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions _sources/ci-tutorials/crossvalidation.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ from mpol import (

# load the mock dataset of the ALMA logo
fname = download_file(
"https://zenodo.org/record/4930016/files/logo_cube.noise.npz",
"https://zenodo.org/record/10059491/files/logo_cube.noise.npz",
cache=True,
show_progress=True,
pkgname="mpol",
Expand Down Expand Up @@ -361,7 +361,7 @@ For the purposes of comparison, here is the image produced by the tclean algorit

```{code-cell}
fname = download_file(
"https://zenodo.org/record/4930016/files/logo_cube.tclean.fits",
"https://zenodo.org/record/10059491/files/logo_cube.tclean.fits",
cache=True,
show_progress=True,
pkgname="mpol",
Expand Down
2 changes: 1 addition & 1 deletion _sources/ci-tutorials/fakedata.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ from astropy.utils.data import download_file

# load the mock dataset of the ALMA logo
fname = download_file(
"https://zenodo.org/record/4930016/files/logo_cube.noise.npz",
"https://zenodo.org/record/10059491/files/logo_cube.noise.npz",
cache=True,
show_progress=True,
pkgname="mpol",
Expand Down
2 changes: 1 addition & 1 deletion _sources/ci-tutorials/gridder.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ from astropy.utils.data import download_file
```{code-cell}
# load the mock dataset of the ALMA logo
fname = download_file(
"https://zenodo.org/record/4930016/files/logo_cube.noise.npz",
"https://zenodo.org/record/10059491/files/logo_cube.noise.npz",
cache=True,
show_progress=True,
pkgname="mpol",
Expand Down
2 changes: 1 addition & 1 deletion _sources/ci-tutorials/initializedirtyimage.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ When saving and loading a model, it is important to make sure that ``cell_size``
```{code-cell}
# load the mock dataset of the ALMA logo
fname = download_file(
"https://zenodo.org/record/4930016/files/logo_cube.noise.npz",
"https://zenodo.org/record/10059491/files/logo_cube.noise.npz",
cache=True,
show_progress=True,
pkgname="mpol",
Expand Down
2 changes: 1 addition & 1 deletion _sources/ci-tutorials/loose-visibilities.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ and loading the dataset
```{code-cell}
# load the mock dataset of the ALMA logo
fname = download_file(
"https://zenodo.org/record/4930016/files/logo_cube.noise.npz",
"https://zenodo.org/record/10059491/files/logo_cube.noise.npz",
cache=True,
show_progress=True,
pkgname="mpol",
Expand Down
2 changes: 1 addition & 1 deletion _sources/ci-tutorials/optimization.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ from mpol import coordinates, fourier, gridding, losses, precomposed, utils
```{code-cell} ipython3
# load the mock dataset of the ALMA logo
fname = download_file(
"https://zenodo.org/record/4930016/files/logo_cube.noise.npz",
"https://zenodo.org/record/10059491/files/logo_cube.noise.npz",
cache=True,
show_progress=True,
pkgname="mpol",
Expand Down
4 changes: 2 additions & 2 deletions _static/copybutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const messages = {
},
'fr' : {
'copy': 'Copier',
'copy_to_clipboard': 'Copié dans le presse-papier',
'copy_to_clipboard': 'Copier dans le presse-papier',
'copy_success': 'Copié !',
'copy_failure': 'Échec de la copie',
},
Expand Down Expand Up @@ -224,7 +224,7 @@ var copyTargetText = (trigger) => {
var target = document.querySelector(trigger.attributes['data-clipboard-target'].value);

// get filtered text
let exclude = '.linenos, .gp';
let exclude = '.linenos';

let text = filterText(target, exclude);
return formatCopyText(text, '', false, true, true, true, '', '')
Expand Down
Binary file modified _static/fftshift/build/plot.png
1 change: 1 addition & 0 deletions _static/pygments.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.highlight .cs { color: #8f5902; font-style: italic } /* Comment.Special */
.highlight .gd { color: #a40000 } /* Generic.Deleted */
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
.highlight .ges { color: #000000; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #ef2929 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
Expand Down
2 changes: 1 addition & 1 deletion api.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<script src="https://buttons.github.io/buttons.js"></script>
<script>window.MathJax = {"options": {"processHtmlClass": "tex2jax_process|mathjax_process|math|output_area"}}</script>
<script defer="defer" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="https://unpkg.com/mermaid@9.4.0/dist/mermaid.min.js"></script>
<script src="https://unpkg.com/mermaid@10.2.0/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="genindex.html" />
Expand Down
2 changes: 0 additions & 2 deletions changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
<script src="https://buttons.github.io/buttons.js"></script>
<script>window.MathJax = {"options": {"processHtmlClass": "tex2jax_process|mathjax_process|math|output_area"}}</script>
<script defer="defer" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="https://unpkg.com/[email protected]/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
Expand Down
10 changes: 4 additions & 6 deletions ci-tutorials/PyTorch.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
<script src="https://buttons.github.io/buttons.js"></script>
<script>window.MathJax = {"options": {"processHtmlClass": "tex2jax_process|mathjax_process|math|output_area"}}</script>
<script defer="defer" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script src="https://unpkg.com/[email protected]/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad:true});</script>
<link rel="shortcut icon" href="../_static/favicon.ico"/>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
Expand Down Expand Up @@ -585,7 +583,7 @@ <h2>Optimizing a Function with Gradient Descent<a class="headerlink" href="#opti
</div>
</div>
<div class="cell_output docutils container">
<img alt="../_images/aa4014aa819c4fd1240e4a412fa9c5f975b660c6935e84d2412d2cf2876047a6.png" src="../_images/aa4014aa819c4fd1240e4a412fa9c5f975b660c6935e84d2412d2cf2876047a6.png" />
<img alt="../_images/9e6515d7281d0636faf745b79b518cb3b256a9a5953827cd1499dc218ded1582.png" src="../_images/9e6515d7281d0636faf745b79b518cb3b256a9a5953827cd1499dc218ded1582.png" />
</div>
</div>
<p>We see we need to go to the right to go down toward the minimum. For a multivariate function, the gradient will be a vector pointing in the direction of the steepest downward slope. When we take steps, we find the x coordinate of our new location by:</p>
Expand Down Expand Up @@ -649,7 +647,7 @@ <h2>Optimizing a Function with Gradient Descent<a class="headerlink" href="#opti
</div>
</div>
<div class="cell_output docutils container">
<img alt="../_images/ade4bc80dd522959106b566d6fde94298c7ac454f018589c5d93860443d26859.png" src="../_images/ade4bc80dd522959106b566d6fde94298c7ac454f018589c5d93860443d26859.png" />
<img alt="../_images/034e030958c936689acf508e6dd99f2e4625133cd4d689be8cd932863dc01760.png" src="../_images/034e030958c936689acf508e6dd99f2e4625133cd4d689be8cd932863dc01760.png" />
</div>
</div>
<p>The gradient at our new point (shown in orange) is still not close to zero, meaning we haven’t reached the minimum. We’ll continue this process of checking if the gradient is nearly zero, and take a step in the direction of steepest descent until we reach the bottom of the valley. We’ll say we’ve reached the bottom of the valley when the absolute value of the gradient is <span class="math notranslate nohighlight">\(&lt;0.1\)</span>:</p>
Expand Down Expand Up @@ -696,7 +694,7 @@ <h2>Optimizing a Function with Gradient Descent<a class="headerlink" href="#opti
</div>
</div>
<div class="cell_output docutils container">
<img alt="../_images/b555dc26be48899b117e71e690cb7df070138fa29eee2689d72878b436f76e01.png" src="../_images/b555dc26be48899b117e71e690cb7df070138fa29eee2689d72878b436f76e01.png" />
<img alt="../_images/1d8abadb937d7eafab8c2f0405fab90e61ccdd4e79469d10af84ce15d6812eb5.png" src="../_images/1d8abadb937d7eafab8c2f0405fab90e61ccdd4e79469d10af84ce15d6812eb5.png" />
</div>
</div>
<p>This works, but it takes a long time since we have several small steps.</p>
Expand Down Expand Up @@ -749,7 +747,7 @@ <h2>Optimizing a Function with Gradient Descent<a class="headerlink" href="#opti
</div>
</div>
<div class="cell_output docutils container">
<img alt="../_images/03507cfedf12a44d611a8d154f2826c860b51a2438ffbd10054023085b3a891c.png" src="../_images/03507cfedf12a44d611a8d154f2826c860b51a2438ffbd10054023085b3a891c.png" />
<img alt="../_images/ac4b397a7095065b3dc48ea2d72413ad0ca6daed4747c16b396cdcb168946640.png" src="../_images/ac4b397a7095065b3dc48ea2d72413ad0ca6daed4747c16b396cdcb168946640.png" />
</div>
</div>
<p><em>Note the change in scale!</em> With only one step, we already see that we stepped <em>right over</em> the minimum to somewhere far up the other side of the valley (orange point)! This is not good. If we kept iterating with the same learning rate, we’d find that the optimization process diverges and the step sizes start blowing up. This is why it is important to pick the proper step size by setting the learning rate appropriately. Steps that are too small take a long time while steps that are too large render the optimization process invalid. In this case, a reasonable choice appears to be <code class="docutils literal notranslate"><span class="pre">step</span> <span class="pre">size</span> <span class="pre">=</span> <span class="pre">0.6</span></code>, which would have reached pretty close to the minimum after only 3 steps.</p>
Expand Down
Loading

0 comments on commit de14c18

Please sign in to comment.