Coder Social home page Coder Social logo

hulalazz / the_evolution_of_gradient_descent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from llsourcell/the_evolution_of_gradient_descent

0.0 1.0 0.0 57 KB

This is the code for "The Evolution of Gradient Descent" by Siraj Raval on Youtube

Jupyter Notebook 97.67% Python 2.33%

the_evolution_of_gradient_descent's Introduction

The_evolution_of_gradient_descent

This is the code for "The Evolution of Gradient Descent" by Siraj Raval on Youtube

Coding Challenge - Due Date, Thursday June 8th at 12 PM PST

This weeks coding challenge is to write out the Adam optimization strategy from scratch. In the process you'll learn about all the other gradient descent variants and why Adam works so well. Bonus points if you add a visual element to it by plotting it in a Jupyter notebook. Good luck!

Overview

This is the code for this videon on Youtube by Siraj Raval. In the video, we go over the different optimizer options that Tensorflow gives us. Under the hood, they are all variants of gradient descent.

Dependencies

  • matplotlib
  • pyplot
  • numpy

install missing dependencies with pip

Usage

Run jupyter notebook to see the code that compares gradient descent to stochastic gradient descent run in the browser. I've also got 2 seperate python files, one for adadelta and one for the nesterov method. Run those straight from terminal with the python command.

Credits

The credits for this code go to GRYE and dtnewman. I've merely created a wrapper to get people started.

the_evolution_of_gradient_descent's People

Contributors

llsourcell avatar

Watchers

Zhang JinXiong(张金雄) 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.