Skip to content
A Convolutional Neural Network implemented from scratch (using only numpy) in Python.
Branch: master
Clone or download
Latest commit 9699563 Jun 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit: implement working forward CNN May 22, 2019
LICENSE Create LICENSE Jun 3, 2019
README.md Update README.md May 30, 2019
cnn.py Edit cnn.py May 28, 2019
cnn_keras.py Edit cnn_keras.py May 28, 2019
conv.py Improve style, add comments May 28, 2019
maxpool.py Improve style, add comments May 28, 2019
requirements.txt Add keras to requirements.txt May 29, 2019
softmax.py Improve style, add comments May 28, 2019

README.md

A Convolution Neural Network (CNN) From Scratch

This was written for my 2-part blog post series on CNNs:

To see the code (forward-phase only) referenced in Part 1, visit the forward-only branch.

Usage

Install dependencies:

$ pip install -r requirements.txt

Then, run it with no arguments:

$ python cnn.py
$ python cnn_keras.py

You can also run this code in your browser.

More

You may also be interested in a Neural Network implemented from scratch in Python, which was written for my introduction to Neural Networks.

You can’t perform that action at this time.