Code Monkey home page Code Monkey logo

computational_graph's Introduction

Computational graph

This repo is a Python 3 implementation of a computational graph to do deep learning. I learned in that all big deep learning librairies used that principle so I wanted to understand it and to do that I implemented it.

Getting Started

Simply clone this repo

Prerequisites

Essential : Numpy

pip install numpy

Optional : Graphviz

Example

Run fully, fully_mnist, conv or conv_mnist in the terminal

This is the supposed output of the fully file.

This image represent the dataset used, it is a 2d dataset with two classes in a XOR position with a little bit of noise so that perfect separation if impossible

dataset

This image represent the graph built

graph

This image represent the exectution of the program in the terminal

cmd

This image represent the loss of the graph at each iteration

loss

This image represent the resulting decision boundary

boudary

Built With

  • Numpy - NumPy is the fundamental package for scientific computing with Python
  • Graphviz - Graph Visualization Software

Authors

  • Jean-Gabriel Simard

Acknowledgments

  • Jeremy Fix - CentraleSupélec Teacher

computational_graph's People

Contributors

jgsimard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

copperdong

computational_graph's Issues

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.