Giter Club home page Giter Club logo

nn_from_scratch's Introduction

Neural Network from scratch

IPython notebook illustrates experiments with a 4 layer network.

Notebook setup-

# Create and activate new virtual environment (optional)
virtualenv venv
source venv/bin/activate
# Run notebook
jupyter notebook mlnn.ipynb

  Please refer mlnn.py for model code.

Methods

  • fprop(train_data_X) : Forward propagation using train_data_X.
  • bprop(train_data_X, train_data_y, regularization_lambda, epsilon) : Backward propagation using (train_data_X, train_data_y).
  • predict(train_data_X) : Make predictions using train_data_X.
  • train(train_data_X, train_data_y, regularization_lambda, epsilon, num_pass, print_loss) : Train network using (train_data_X, train_data_y).
  • visualize_preds(train_data_X, train_data_y) : Plot classification graph.
  • animate_preds(train_data_X, train_data_y, regularization_lambda, epsilon, num_pass=35000) : Animate training process.

  nn_animate

Requirements:

  • numpy
  • sklearn
  • matplolib

Please feel free to contact me at ishank269[at]gmail[dot]com to report any issues or you can open an issue here. Fork or clone for your use :)

nn_from_scratch's People

Contributors

ishank26 avatar

Stargazers

Kevin Kawchak avatar Suvasish Das avatar  avatar  avatar  avatar  avatar Keyur avatar  avatar Badhusha avatar codehnt avatar AIHGF avatar  avatar Amandeep Rathee avatar Strace avatar Vicky Dasta avatar SHIRE avatar Honcharov Danylo avatar  avatar Gurumurthi V Ramanan avatar Hongxiang Lin avatar BenJueWeng avatar YOLO avatar nd791899 avatar  avatar  avatar  avatar Dmitry Kulikov avatar sile avatar  avatar Stella Gao avatar 松龙 avatar  avatar Macielyoung avatar Xiao SUN avatar mattl920@gmail.com avatar Venelin Valkov avatar JisungJeon avatar  avatar Jiahui avatar  avatar  avatar Linpingchuan avatar Wenjun YANG avatar  avatar  avatar Kevin Jiang avatar  avatar caojie avatar  avatar 爱可可-爱生活 avatar TENSORTALK avatar Chester Holtz avatar  avatar Tariq Hassan avatar Akash Tripathy avatar

Watchers

Shaoning Zeng avatar James Cloos avatar YOLO avatar  avatar  avatar caojie 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.