Skip to content

Commit 8bbb94a

Browse files
committed
added README to numpy-nn
1 parent fb7b2ec commit 8bbb94a

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

numpy-nn/README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Custom NN Modules with Numpy
2+
3+
**Implemenation.**
4+
`layers.py` Numpy implementation of the following modules:
5+
- ReLU
6+
- Tanh
7+
- Sigmoid
8+
- Linear (Dense)
9+
- LogSoftmax
10+
11+
`loss.py` Negative log likelihood.
12+
13+
**Optimizer.** I used `scipy.optimize.minimize` function with `L-BFGS-B` method.
14+
15+
**Experiments.**
16+
17+
![](figures/layers.png)
18+
19+
![](figures/init.png)
20+
21+
![](figures/actfn.png)

numpy-nn/figures/actfn.png

21 KB
Loading

numpy-nn/figures/init.png

21.7 KB
Loading

numpy-nn/figures/layers.png

28.4 KB
Loading

0 commit comments

Comments
 (0)