Code Monkey home page Code Monkey logo

ann_mnist's Introduction

MNIST Handwritten Digits:
A Simple ANN Classifier

GitHub GitHub top language GitHub Repo stars


A (hopefully) well-structured and easy to understand Jupyter notebook outlining some machine-learning basics with the help of a self-written adjustable neural network using purely the power of the brilliant NumPy module. I originally decided against using any mainstream machine-learning modules such as TensorFlow, PyTorch, Caffe, etc. in order to acquire a deeper understanding about the mathematics and tech behind deep neural networks.

Check out the notebook here!

📂 Repository Structure

If you want to clone this repository and run the notebook locally, then don't forget to install the dependencies, but most importantly, don't forget to also download the official MNIST Handwritten Digits Dataset and place it in the right place.

ann_mnist/
 |- data/                           // dataset directory
   |- t10k-images-idx3-ubyte.gz     // test features
   |- t10k-labels-idx1-ubyte.gz     // test labels
   |- train-images-idx3-ubyte.gz    // train features
   |- train-labels-idx1-ubyte.gz    // train labels
 |- media/                          // media for README.md
   |- ...
 |- snaps/                          // generated media
   |- ...
 |- main.ipynb                      // main jupyter notebook
 |- main.py                         // legacy, 2019 code (fashion dataset)
 |- notebook.py                     // code-only version of notebook
 |- ...

🔍 Want More?

Some of my other machine-learning repositories that I might do a makeover on soon as well. For references to other (perhaps more interesting) reads, check out the articles I linked to every now and then in the notebook.

  • ConvNet - MNIST Dataset [2019] ... Using a convolutional neural network to classify handwritten digits
  • RNN (LSTM) - Goethe Texts [2019] ... Using a recurrent neural network (long short term memory) to generate characters in a "Goethe-like" manner
  • ConvNet - Style Transer [2019] ... Using PyTorch and the VGG16 network to transfer artists' styles onto digital images
  • ConvNet - Deep Dream [2019] ... Using PyTorch and GoogLeNet to generate mind-blowing images using a neural network's "imagination"

... Matthias Monschein (September 2021)

ann_mnist's People

Contributors

mattmoony avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.