Giter Club home page Giter Club logo

mnist_nn's Introduction

Solving MNIST with Pytorch

Description

The “hello world” of object recognition for machine learning and deep learning is the MNIST dataset for handwritten digit recognition. The MNIST problem is a dataset developed by Yann LeCun, Corinna Cortes and Christopher Burges for evaluating machine learning models on the handwritten digit classification problem.

Files

  • mnist.ipynb: a Logistic Regression solution and a Neural Net solution
  • mnist_class.ipynb: has the same Neural Net solution as above but written in a python class
  • minist.py: contains the python from mnist_class.ipynb written regular python - no jupyter/markdown
  • mnist.pt: p retrained model
  • environment.yml:

Environment

The code was developed in a conda environment and test on an Ubuntu & OSX system. The conda environment can be reproduced using the following:

$ conda env create -f environment.yml
$ conda actviate pytorch

If you already have an environment with the name pytorch you can set a new name with the following.

$ conda env create -f environment.yml -n new-env-name

You may have to run the following for jupyter to see the new environment. Note if you changed the environment name per above you need to replace 'mnist' with the name you created.

$ python -m ipykernel install --user --name=mnist

mnist_nn's People

Contributors

sfavorite avatar

Watchers

James Cloos 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.