Giter Site home page Giter Site logo

build_deep_learning_framework's Introduction

Build Your deep learning framework

Construct your own deep learning framework,which help you to be familiar with forward propagation, backward propagation, and update model parameters by gradient descent method. This is a very simple deep learning framework, which is conducive to understand model and optimization.

Function

  • SGD_Linear_regression: We use Least-Squares method and the SGD optimization model to perform linear regression,and compare the difference between them.
  • LearnConv_TraditionCV: We use the traditional method to transform the color of the image. At the same time, we use the network to learn the color transformation, and compare the difference between the two.

Code Structure

Conv and Fc

For every layer, we need to code the forward function and the backward function.

  • the formula doesn't errors
  • the relationship between dimensions is not wrong(Do not use reshape at will).

optim

Method of updating parameters based on weight and gradient.

model

This class has the following main effects:

  • Contact forward and backward(cache)
  • store the parameters of model

solver

This class has the following main effects:

  • Save the parameters needed for optimization, such as the momentum of each variable, the order of magnitude of each variable.

build_deep_learning_framework's People

Contributors

kuku-sichuan avatar

Watchers

 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.