Giter Site home page Giter Site logo

era_v1_session6_pankaja's Introduction

Part - 1: Backward Propagation as laid out in asgmt_backpropagation.xlsx

Step 1

Here we are defining all the nodes of the neural network so we can use it to further along the way to the next step in backward propagation

Step 2

Here we are calculating the partial derivatives line 2: Since E2 is not dependent on w5, we are excluding it and calculate only for E1 which is dependent on w5 line 4: we find the partial derivative E1 w.r.t a_o1 line 5: we find the partial derivative of o1 w.r.t of w5

Step 3

Here we are calculating the E_Total w.r.t w5, w6, w7 and w8

Step 4

Here we are calculating the E_Total w.r.t w5, w6, w7 and w8

NOTE: Rest of the steps have been marked with post-it like sticky comments in the Excel file

Part - 2:

Purpose: Session 6 assignment is to try to achieve the following:

  • Reduce the parameters
  • Use any or all the techniques about CNN layers, loss functions etc.,
  • Achieve 99.3% accuracy

Based on MNIST dataset

Create a simple Convolutional Neural Network model and predict

Project Setup:

Clone the project as shown below:-

$ git clone [email protected]:pankaja0285/era_v1_session6_pankaja.git
$ cd era_v1_session6_pankaja

About the file structure
|__asgmt_backpropagation.xlsx
|__README.md
|__S6.ipynb

NOTE: List of libraries required: torch and torchsummary, tqdm for progress bar, which are installed using requirements.txt

One of 2 ways to run the S6.ipynb notebook:

  1. Using Anaconda prompt - Run as an administrator start jupyter notebook from the folder era_v1_session5_pankaja and run it off of your localhost
    NOTE: Without Admin privileges, the installs will not be correct and further import libraries will fail.
jupyter notebook
  1. Upload the notebook folder era_v1_session6_pankaja to google colab at colab.google.com and run it on colab

NOTE: Follow along the S6.ipynb - notebook cells and run sequentially to see the outputs.

Notebook execution sequence of sections is as follows:

File used: S6.ipynb

  1. Following the section Model - 1 for all the set up of params and training and plotting the accuracies and losses
  2. Following the section Model - 2 for all the set up of params and training and plotting the accuracies and losses

Contributing:

For any questions, bug(even typos) and/or features requests do not hesitate to contact me or open an issue!

era_v1_session6_pankaja's People

Contributors

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