Getting Started with Deep Learning and Neural Network
Week - 3 - Getting Started with Deep Learning and Neural Network
1
6CS012 – Artificial Intelligence and Machine Learning.�Week – 3
Learning Objective,
Week - 3 - Getting Started with Deep Learning and Neural Network
2
Machine 🡪 Deep Learning?
Why?
Week - 3 - Getting Started with Deep Learning and Neural Network
3
Last week : Logistic Regression for Classification.
Week - 3 - Getting Started with Deep Learning and Neural Network
4
Last week : Dissecting Logistic Regression.
Week - 3 - Getting Started with Deep Learning and Neural Network
5
Last week : Application.
Week - 3 - Getting Started with Deep Learning and Neural Network
6
Our Observation – 1:
Week - 3 - Getting Started with Deep Learning and Neural Network
7
Our Observation – 2:
Week - 3 - Getting Started with Deep Learning and Neural Network
8
Why Feature extraction is a Challenge?
Machine Learning Vs. Deep Learning.
Week - 3 - Getting Started with Deep Learning and Neural Network
9
Why Feature Extraction is a Limitations?
Week - 3 - Getting Started with Deep Learning and Neural Network
10
Machine Learning Vs. Deep Learning.
{ We will talk more on this as we move forward with more complex deep learning algorithms.}
Week - 3 - Getting Started with Deep Learning and Neural Network
11
Modern Breakthrough of Deep Learning.
Week - 3 - Getting Started with Deep Learning and Neural Network
12
The Common Elements in above Breakthrough.
Week - 3 - Getting Started with Deep Learning and Neural Network
13
Neural Networks are Taking Over.
Week - 3 - Getting Started with Deep Learning and Neural Network
14
What are Neural Networks?
It is said to be inspired by “human ability of thinking”.
Introduction to Neural Networks.
From Biological Inspiration to Computational Models.
Week - 3 - Getting Started with Deep Learning and Neural Network
15
Way before Neural network …
Week - 3 - Getting Started with Deep Learning and Neural Network
16
Early Models of Human Cognition.
Week - 3 - Getting Started with Deep Learning and Neural Network
17
Beginning the Era of Connectionism.
Week - 3 - Getting Started with Deep Learning and Neural Network
18
Connectionist Machines
Week - 3 - Getting Started with Deep Learning and Neural Network
19
Alan Turing’s Connectionist Model - 1948
But what are these independent processing units?
Connectionist Machines: Warning
Week - 3 - Getting Started with Deep Learning and Neural Network
20
Modelling the Brain: Neurons.
Week - 3 - Getting Started with Deep Learning and Neural Network
21
Modelling the Brain: Connectionist.
22
Biological Neurons to Computational Model.
Week - 3 - Getting Started with Deep Learning and Neural Network
23
Biological Neurons to Computational Model.
Week - 3 - Getting Started with Deep Learning and Neural Network
24
Fig: A Symbolic representation of “How we want our Neuron to be?”
McCulloch and Pitts Neuron.
{Earlier Computational or Mathematical Representations of Neuron.}
Week - 3 - Getting Started with Deep Learning and Neural Network
25
The McCulloch – Pitts Artificial Neuron.
Week - 3 - Getting Started with Deep Learning and Neural Network
26
An MCP Neuron.
Week - 3 - Getting Started with Deep Learning and Neural Network
27
Computational Model of MCP Neuron.
Week - 3 - Getting Started with Deep Learning and Neural Network
28
We will use this notation for easy representations.
MCP Neuron and Boolean Operations.
Week - 3 - Getting Started with Deep Learning and Neural Network
29
MCP Neuron and Boolean Operations.
Week - 3 - Getting Started with Deep Learning and Neural Network
30
MCP Neuron and Boolean Operations.
Week - 3 - Getting Started with Deep Learning and Neural Network
31
Limitation of MCP Neurons.
Week - 3 - Getting Started with Deep Learning and Neural Network
32
Towards a Better Model.
{Introduction to Perceptron and Perceptron Learning Theory.}
Week - 3 - Getting Started with Deep Learning and Neural Network
33
The Perceptron Model.
Week - 3 - Getting Started with Deep Learning and Neural Network
34
Reminds you of something?
Computational Representation of Perceptron.
35
Perceptron Learning Algorithm
and bias until desired output.
x1
x2
b
y
w1
w2
Note: α is learning rate, 0 < α ≤ 1
Realizing Gates Using Perceptron
x1
x2
1
0
0
0
x1
x2
1
1
0
1
Fig: AND Function
Fig: OR Function
Realizing AND gate using Perceptron Algorithm
Example
Train the following perceptron by using given training set
x1 | x2 | Target (t) x1 AND x2 |
1 | 1 | 1 |
1 | -1 | -1 |
-1 | 1 | -1 |
-1 | -1 | -1 |
x1
x2
b
y
w1
w2
x1
0
1
0
1
XOR Problem
Minsky and Papert's Analysis (1969).
Week - 3 - Getting Started with Deep Learning and Neural Network
40
Solving the XOR Problem.
Week - 3 - Getting Started with Deep Learning and Neural Network
41
Perceptron for Real Value Inputs.
Week - 3 - Getting Started with Deep Learning and Neural Network
42
The activation function
Week - 3 - Getting Started with Deep Learning and Neural Network
43
Artificial Neural Network (ANN)
The – End.
Week - 3 - Getting Started with Deep Learning and Neural Network
45