Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 2 KB

README.md

File metadata and controls

35 lines (22 loc) · 2 KB

Neural-Network-Fundamentals


Breif Introduction of a Neural Network

Neural networks are core in deep learning. It consists of layers of interconnected nodes that resemble neurons in human brain. In this notebook, we explore a python library tensorflow to implement neural networks.

Photo: https://wiki.pathmind.com/neural-network

All the computation happends in the nodes. Each node has a set of weights and bias. The input from the previous layer is run through the subsequent layer and at each node the following equation is used to compute the output.

output = bias + weights * inputs

After this, the output is put through an activation function that transforms the output. Popular activation function such as ReLu transform input with the max(0, x) equation. Essentially, input less than 0 are default to 0 and do not carry any weight. Thus, the node is said to be 'deactivated'. Conversely, positive input will be preserved, and nodes are 'activated'.

Photo: Neural Networks Pt. 3: ReLU In Action!!!

This notebook focuses more on the coding part of neural network. For more detailed mathematical explanation on how neural networks work under the hood, there are some great resources for you to review.

  1. StatQuest Neural Network Series
  2. 3Blue1Brown - What is Neural Network

In this notebook we will

  1. Go through the steps of implementing a basic neural network
  2. Use neural network on regression tasks
  3. Use neural network on classification
  4. Introduce Convoltional Neural Network.

References:

  1. Learn TensorFlow and Deep Learning fundamentals with Python
  2. MIT Introduction to Deep Learning