GithubHelp home page GithubHelp logo

mxnet-tutorials-in-r's Introduction

mxnet examples for people with intermediate R and deeplearning knowledge.

note that I do not intend to find the best model for a given problem, the purpose of this project is simply to give you an easy access to mxnet and its functionality.

dependencies:

  • darch
  • mxnet
  • ggplot2
  • reshape2

to use the code:

  1. run preprocessing/get_mnist.R
  2. run preprocessing/conversion.R
  3. run models/

note that you have to edit the working directory in all files.

model overview

Model Time to execute* Type Peak accuracy
01 roughly 1.3 min very simple neural network with 3 layers 0.9784 @ 50 epochs
02 roughly 43.5 min 4 neural nets with 4 layers + dropout (benchmark) best model yields 0.9793 @ 50 epochs
03 roughly 13.5 min CNN with 3 conv/pooling + 3 dense layers 0.9862 accuracy @ 20 epochs

* models were executed on mainstream CPU with 4 cores/4 threads @ 3.9 GHZ

I'm planing to add more models in the future (autoencoder, lstms, segmentation models)

model 01 results:

alt text

model 02 results:

alt text

alt text

model 03 results:

alt text

mxnet-tutorials-in-r's People

Contributors

nklein23 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.