- What is a neural network?
- What modules are included in a neural network?
- What can neural networks be used for?
These questions may have plagued those interested in neural networks. In this study, the author builds a neural network structure from scratch, and applies it to accomplish a multi-class classification task. The neural network modules include:
- Multiple Hidden Layers
- Kaiming Initialization
- Weight Decay
- Batch Normalization
- Dropout
- Label Smoothing
- ReLU Activation Function
- Tanh Activation Function
- GELU Activation Function
- Softmax and Cross-entropy Loss
- Momentum in SGD
- Adam Optimizer
- Mini-batch Training
Step 1: Install packages.
!pip install network_yuanzhe==1.0.2
Step 2: Import functions from the package.
from network_yuanzhe import model
Step 3:
Download the /test/exp.html
file and open it in your browser.
The experiment show you how to build a classifier based on the self-built neural network structure.