A sequential neural network python extension
Project description
SeqNN
A simple sequential neural network python extension
Table of Contents
About The Project
SeqNN is a simple single threaded sequential neural network python extension written in c++ and compiled with SWIG.
Features
- Modular layers
- 2 Dimensional Convolutional
- 2 Dimensional Max/Min Pool
- Fully Connected Dense Layer
- Regularization
- Weight decay
- Soft weight sharing for the 2D Convolutional layer
- Early Stopping
Built With
Getting Started
Installation
- Clone the repo
git clone https://github.com/BrettCleary/DigitCNN
OR
- Install with PyPi
pip install SeqNN
Usage
Example usage with a subset of the MNIST dataset is given in DigitCNN.py. Here is a sample output:
Error Rate (%) after training 2 number of epochs is 22.8
Error Rate (%) after training 4 number of epochs is 14.4
Error Rate (%) after training 6 number of epochs is 12.8
Error Rate (%) after training 8 number of epochs is 12.0
Error Rate (%) after training 10 number of epochs is 10.8
Error Rate (%) after training 12 number of epochs is 10.8
Error Rate (%) after training 14 number of epochs is 10.0
Error Rate (%) after training 16 number of epochs is 10.8
Error Rate (%) after training 18 number of epochs is 10.4
Error Rate (%) after training 20 number of epochs is 9.6
The error rate for test dataset is 6.4
Contributing
Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Project Link: https://github.com/BrettCleary/SeqNN
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SeqNN-0.0.3.tar.gz
(5.6 kB
view details)
File details
Details for the file SeqNN-0.0.3.tar.gz.
File metadata
- Download URL: SeqNN-0.0.3.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa680e20a78b6f5dc619c5f4ecc020b20597984735aa39855b8492b57eeacf40
|
|
| MD5 |
c25f41935ddc3d234468b56f3650fb95
|
|
| BLAKE2b-256 |
68b224a2492cbb6c07c8e5d2e87c68e066d0d0401fba8256b7f1389d75710abd
|