https://github.com/populated/mlp
A simple raw MLP.
https://github.com/populated/mlp
Last synced: 6 months ago
JSON representation
A simple raw MLP.
- Host: GitHub
- URL: https://github.com/populated/mlp
- Owner: populated
- Created: 2025-05-05T17:25:29.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-05-07T12:37:51.000Z (9 months ago)
- Last Synced: 2025-05-07T16:15:59.304Z (9 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Multilayer Perceptron (MLP)
A raw Multilayer Perceptron implementation in pure Python with forward propagation, backpropagation, and various activation functions.
# Features
* Forward Propagation
* Backpropagation for supervised learning
* Multiple activation functions (Sigmoid, ReLU, Softmax)
* Optimization with SGD (with momentum)
* Loss functions (MSE)
* Training and evaluation utilities
# Future Features
- [ ] More activation functions (Tanh, Leaky ReLU, etc.)
- [ ] Additional optimization algorithms (Adam, RMSProp, etc.)
- [ ] Regularization techniques (Dropout, L1/L2 regularization)
- [ ] Batch normalization
- [ ] Weight initialization strategies
# Struct
```
src/
├── __init__.py
├── activation.py
├── layer.py
├── network.py
└── utils.py
```