Giter Site home page Giter Site logo

linear-deep-learning-model's Introduction

Linear Deep Learning Model

This is my first deep learning basic linear model developed.

Tools used:

  1. Jupyter Note Book
  2. Python 3

First, I am generating a random data set from -10 to 10 and there are two inputs of dimensions 1000x1.

Then, I am setting a target function with reference to which the output y will be estimated.

After that, the weights are generated (also)randomly between -1 and 1 and taking the size as 2x1 as there are two inputs to the model. The bias is found with the size 1x1 according to convention.

Taking an arbitrary learning rate, I went on to update the weights and biases and achieve the least possible values for both, with the help of Gradient Descent optimization algorithm and the L-2 Norm loss function(since it is regression type problem), calculated per observation or the average(which indicates how close are the estimated output and the target output). We will stop when the iterating values will approximately stop to decrease further,i.e, the target and estimated outputs will come to a constant difference approximately. By the iteration, we are training our model according to our target function.

Then by plotting a target output vs estimated output graph, we can indicate how close are the two values to each other or in other words, the accuracy of the model. A line approximately inclined to 45 degrees indicates more accurate model.

linear-deep-learning-model's People

Contributors

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