Git Product home page Git Product logo

nn-dropout's Introduction

NN-Dropout


Note: This should be considered deprecated, or whatever. Everything I'm actually actively working with is in my NN-Python repository.


The code in this repository implements batch gradient-descent training for feedforward neural networks with dropout and a collection of other regularizers. The code is reasonably efficient, but should generally be considered more of a "proof-of-concept" than something "production ready". In addition to dropout and its close sibling "DropConnect", the SmoothNet class allows regularization by finite differences estimates of higher-order curvature in the function induced by the network, and regularization based on Gaussian fuzzing of the network parameters. The regularizers other than dropout/dropconnect constitute research in progress. A SmoothNet instance will train faster if curvature regularization for each layer is turned off (see test_smoothnet.m for more info). I've also written a "rectified Huber" activation function, which provides a smooth alternative to the rectified-linear activation function. The smooth ReHu is better suited to curvature regularization than the herky-jerky ReLU.

The code is designed to be somewhat readable by people who aren't me, though the new regularizers may prove inscrutable to those not familiar with the general use of regularization in machine learning. People who are not familiar with the low-level details of neural nets and machine learning in general should probably stick to working with the SmoothNet class, as classes in the other directories are far from finished and their comments/documentation are currently lacking.

The file test_smoothnet.m in this directory will fully initialize a SmoothNet instance and run it on some synthetic data. The main purpose of this file is to show all the options/parameters that are exposed by the class. The file includes documentation describing all parameters relevant to initializing and training a SmoothNet instance.

I'm now working actively on this project, so updates should be more frequent.

nn-dropout's People

Contributors

philip-bachman avatar

Watchers

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