Git Product home page Git Product logo

2020-mini-project-deeplearning's Introduction

mini-project-2020-DL-EPFL

  • This repo contains files (shown below) for the project of the course EPFL EE-559 Deep learning.
-b master: Project 3 Mini deep-learning framework
-b futong: Project 2 Classication, weight sharing, auxiliary losses

-Project 3: Mini deep-learning framework

It is the python code to implement the modules such as

linear (fully connected layer), 
sigmoid (Tanh), 
optimizer_sgd (stochastic gradient descent),
criterion_mse (mean square error),

and to combine above several modules in a basic sequential structure.

More detailed description about codes are as comment in corresponding files.

  • Content
-test.py: main executable
-mynn_module.py: module library to be imported
  • Usage:
$ python test.py
  • Expected result may be like:
epoch:  0, total loss:2.464685, number of train error:176, number of test error:106
epoch: 10, total loss:1.791855, number of train error: 29, number of test error: 39
epoch: 20, total loss:1.677674, number of train error: 22, number of test error: 36
epoch: 30, total loss:1.600664, number of train error: 22, number of test error: 29
epoch: 40, total loss:1.522310, number of train error: 17, number of test error: 27
epoch: 50, total loss:1.466746, number of train error: 15, number of test error: 26
epoch: 60, total loss:1.422140, number of train error: 14, number of test error: 26
epoch: 70, total loss:1.379358, number of train error: 12, number of test error: 30
epoch: 80, total loss:1.345212, number of train error: 13, number of test error: 32
epoch: 90, total loss:1.310656, number of train error: 11, number of test error: 32
epoch:100, total loss:1.290855, number of train error: 12, number of test error: 31

2020-mini-project-deeplearning's People

Contributors

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