GithubHelp home page GithubHelp logo

dnn-scratch-numpy's Introduction

DNN implementation from scratch using NumPy

My implementation of DNN (Deep Neural Network) from scratch using NumPy for regression task. Implemented using linear activation function, with MSE loss function, RMSE accuracy metric, and optimized by SGD (Stochastic Gradient Descent). This is from my first homework of Deep Learning course in my university (NCTU) taught by Prof Lee-Chia Han. There are two task in this homework, first is to implement regression and second is classification. However, at that time I can only implement the regression one (in this repository).

Libraries you will need

The following are Python libraries you will need (and the version I am currently using):

  • NumPy (v1.17.4)
  • Matplotlib (v3.0.3)

Changelog

  • 2020/08/18 First commit of files and modification of DNN.py to be slightly faster (see commit #1369276).

Dataset Source

The dataset we will use in this example is Energy Efficiency Dataset that can be downloaded here from UCI Machine Learning Repository. Please put the CSV dataset in dataset/ folder.

How to run the Code

Clone or download this repository and run DNN.py.

To do

I am planning to modify the code that can take another type of dataset and implement another activation function.

Result

This is the old result that I have (for more details please see results/DL_HW1_report.pdf).


dnn-scratch-numpy's People

Contributors

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