Skip to content

Commit 9890087

Browse files
committed
added neural network weights visualization
1 parent b7e1971 commit 9890087

3 files changed

Lines changed: 34 additions & 1 deletion

File tree

‎_toc.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ parts:
1717
- file: chapter3/logistic_regression
1818
- caption: Chapter 4. Neural Networks
1919
chapters:
20-
- file: chapter4/neural_network
20+
- file: chapter4/neural_network
21+
- file: chapter4/neural_network_weights

‎download_notebooks.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ curl -o chapter3/perceptron.ipynb https://raw.githubusercontent.com/gavinkhung/p
1313
curl -o chapter4/neural_network.ipynb https://raw.githubusercontent.com/gavinkhung/neural-network/refs/heads/main/neural_network.ipynb
1414
curl -o chapter4/plot/nn.svg https://raw.githubusercontent.com/gavinkhung/neural-network/refs/heads/main/plot/nn.svg
1515
curl -o chapter4/plot/architecture/nn-1.png https://raw.githubusercontent.com/gavinkhung/neural-network/refs/heads/main/plot/architecture/nn-1.png
16+
17+
curl -o chapter4/neural_network_weights.ipynb https://raw.githubusercontent.com/gavinkhung/neural-network/refs/heads/main/neural_network_weights.ipynb

‎index.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,36 @@ Extending on linear models, multiple layers will be stacked and new activation f
1515
:class-container: text-center
1616
:gutter: 3
1717

18+
:::{grid-item-card}
19+
:link: /machine-learning-visualized/chapter4/neural_network_weights
20+
:class-header: bg-light
21+
22+
**Neural Network Loss Landscape**
23+
^^^
24+
25+
```{image} https://raw.githubusercontent.com/gavinkhung/neural-network/refs/heads/main/neural_network_weights_loss_landscape.gif
26+
:width: 100%
27+
```
28+
29+
+++
30+
Jupyter Notebook {fas}`arrow-right`
31+
:::
32+
33+
:::{grid-item-card}
34+
:link: /machine-learning-visualized/chapter4/neural_network_weights
35+
:class-header: bg-light
36+
37+
**Neural Network Transformations**
38+
^^^
39+
40+
```{image} https://raw.githubusercontent.com/gavinkhung/neural-network/main/neural_network_weights.gif
41+
:width: 100%
42+
```
43+
44+
+++
45+
Jupyter Notebook {fas}`arrow-right`
46+
:::
47+
1848
:::{grid-item-card}
1949
:link: /machine-learning-visualized/chapter4/neural_network
2050
:class-header: bg-light

0 commit comments

Comments
 (0)