SlideShare a Scribd company logo
Neural Networks & Deep Learning
CSE & IT Department
ECE School
Shiraz University
ONLY
GOD
Introduction to
Neural Networks
2021
2
Biological Inspiration
• Brain is a highly complex, nonlinear, and parallel
computer
• Simple processing units called neurons
• Cycle times in milliseconds
• Massive number of neurons (~ 1011
in humans)
• Massive interconnection (~ 6012 connections)
• Brain can perform certain tasks (pattern recognition,
perception) many times faster than fastest digital
computers
3
Natural Intelligence
Structure of human brain
• Frontal lobe
• Reward, attention, planning,
short-term memory, motivation
• Parietal lobe
• Sensory inputs from skin (touch,
temperature, pain)
• Occipital lobe
• Visual processing center
• Temporal lobe
• Visual memories, language
comprehension, emotion
4
From Receptor to Effector (~1s)
5
Human Nervous System Operation
• May be broken down into three stages:
• Receptors
• Collect information from the environment (e.g. photons on the
retina)
• Convert stimuli from human body or environment into electrical
pulses as information conveyer to brain
6
Organization of Human Nervous System
• Neural network
• Represents the brain which receives information and makes
appropriate decisions
• Effectors
• Convert electrical impulses generated by the neural network into
responses as system outputs
• Generate interactions with the environment (e.g. activate muscles)
• Arrows
• Represent the flow of information/activation (feed-forward and
feed-back)
7
Biological Neuron
8
Biological Neuron
• Dendrites
• Receptive zones that receive activation
from other neurons
• Cell body (soma)
• Processes incoming activations and
converts them into output activations
• Axons
• Transmission lines that send activation
to other neurons
• Synapses
• Allow weighted transmission of signals
(using neurotransmitters) between
axons and dendrites
9
Brain: Amazingly Efficient Computer
~ 1011
neurons
~ 104 synapses per neuron
~ 10 spikes go through each synapse per second
~ 1016
operations per second
~ 25 Watts (Very efficient)
~ 1.4 Kg, 1.7 liters
~ 2500 cm2 (Unfolded cortex)
10
Action of Biological Neuron
• Majority of neurons encode their outputs/activations as a series
of brief electrical pulses (spikes or action potentials)
11
Firing of Neuron
• Behavior is binary (a neuron either fires or not)
• Neurons don’t fire if their accumulated activity stay below
threshold
• If activity is above threshold, a neuron fires (produces a
spike)
• The firing frequency increases with accumulated activity
until max. firing frequency reached
• The firing frequency is limited by refractory period of about
1-10 ms
12
Man vs. Machine (Hardware)
Features Human brain Von Neumann computer
# elements
1010 - 1012
simple neurons
107 - 108 transistors
104 complex processors
# connections/element massive little or no
Switching frequency slow (103 Hz) fast (109 - 1010 Hz)
Energy/operation/sec. 10-16 Joule 10-6 Joule
Power consumption 10 Watt 100 - 500 Watt
Structure dynamic static
Reliability of elements low reasonable
Reliability of system high reasonable
Decision speed/power high reasonable
13
Man vs. Machine (Software)
Features Human brain Digital computer
Data representation analog digital
Memory localization distributed localized
Control distributed localized
Processing parallel sequential
Skill acquisition adaptive-learnable pre-programming
Fault/error tolerance fault tolerant intolerant to errors
Structure trained designed
Activation nonlinear linear
14
What are NNs?
• Artificial neurons are crude approximations of neurons
found in brains
• Physical devices
• Mathematical constructs
• Artificial NNs (ANN) are networks of artificial neurons as
crude approximations to parts of biological brains
15
Conceptual Definition of NNs
• An ANN
• Is a machine, designed to model the brain how
performs a particular task or function of interest
• Is either implemented in hardware or simulated in
software
• Mimics the brain or nervous system, in senses:
• Structure (simple processing units, massive
interconnection, …)
• Functionality (learning, adaptability, fault tolerance, …)
16
Pragmatic Definition of NNs
• An ANN
• Is a massively connected parallel computational system
• Made up of many simple processing units
• Has propensity of storing experimental knowledge
• Can perform tasks analogously to biological brains
• Resembles the brain in two respects:
• Knowledge is acquired by the network from the
environment through a learning process
• Inter-neuron connection strengths are used to store the
acquired knowledge
17
Why NNs?
• They are extremely powerful computational devices
• Massive parallelism makes them very efficient
• They can learn from training data and generalize to new
situations
• They are particularly fault tolerant (as “graceful
degradation” in biological systems)
• They are robust and noise tolerant
• They can do anything a symbolic/logic system can do, and
more
18
Mathematical Model of a Neuron
19
Characteristic of Neuron
• A neuron can receive many inputs
• Inputs may be modified by synaptic weights at receiving
dendrites
• A neuron sums its weighted inputs
• An activation function limits amplitude of output to {0, 1}
• A neuron can transmit an output signal
• Output can go to many other neurons
20
Artificial Neuron
Mathematically, 𝑣 = 𝑤0 + 𝑖=1
𝑛
𝑥𝑖𝑤𝑖 ⟹ 𝑦 = 𝑓 𝑣
𝑓 . : 𝑡ℎ𝑟𝑒𝑠ℎ𝑜𝑙𝑑 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛
21
Artificial Neural Network
𝑦_𝑖𝑛 = 𝑥1𝑤1 + 𝑥2𝑤2 + 𝑏
𝑦 = 𝑓(𝑦_𝑖𝑛)
X2
Y
𝑤1
𝑤2
X1
𝑏
1
22
ANN Features
• Neurons act nonlinearly
• Information processing is local
• Memory is distributed
• The dendrite weights learn through experience
• The weights may be inhibitory or excitatory
• Neurons can generalize novel input stimuli
• Neurons are fault tolerant and can sustain damage
23
ANN Categories
• Direction of information (signal) flow
• Feed-forward network (no feed-back connections)
• Recurrent network (with at least one feed-back
connection)
• Number of layers
• Single layer network
• Single hidden-layer network
• Multilayer network (shallow/deep network)
• Connectivity
• Fully-connected network
• Partially-connected network
24
ANN Categories
• Activation function
• Threshold (binary, bipolar)
• Linear (identity)
• Nonlinear (sigmoid, radial-basis)
• Learning methodology
• Supervised learning
• Unsupervised learning
• Reinforced learning
• Training method
• Static
• Dynamic
25
NN Design Decisions
• Architecture: pattern of connections between
neurons
• No. of layers, no. of neurons in each layer, no. of links
• Connectivity
• Learning algorithm: method of determining the
connection weights
• Supervised, self-organizing, competitive
• Activation function: mapping of neurons' behavior
• Threshold, linear, nonlinear
26
Single-layer Feed-forward NN
X1
Xn
Y1
Ym
w11
w1m
wn1
wnm
⋮
⋮
27
Multilayer Feed-forward NN
• More powerful
• Harder to train
• Open loop
X1
Xn Zp
Z1
Ym
Y1
⋮ ⋮ ⋮
28
Recurrent NN
• More powerful
• Harder to train
• Closed loop
29
Knowledge Representation in ANN
• What is knowledge?
• Information or models used to interpret, predict and appropriately
respond to outside world (environment)
• Quality of knowledge representation generally translates
into quality of solution
• Better representation means better solution
• Knowledge representation in NNs is not well-understood
• There is little theory that relates a given weight to a particular piece
of information
• Knowledge is encoded in free parameters of NN
• Weights and thresholds
30
Knowledge Representation Rules
• Rule 1:
• Similar inputs from similar classes should usually produce similar
representations inside the network, and should, therefore, be
classified as belonging to the same category
• Rule 2:
• Inputs to be characterized as separate classes should be given
widely different representations in the network
• Rule 3:
• If a particular feature is important, then there should be a large
number of neurons involved in representation of that item in
network
• Rule 4:
• Prior knowledge and invariances should be built into design of
network, thus simplifying learning
31
Knowledge Representation Rules
• Advantages of building-in prior knowledge
• Specialized structure
• Benefits of specialized structure
• Biologically plausible, less complication, fewer free parameters, faster
training, fewer examples needed, better generalization
• How to build-in prior knowledge
• No hard and fast rules
• In general, use domain knowledge to reduce complexity of NN
based on its performance characteristics
• Built-in Invariances
• Invariance?
• Fault tolerance
• Immunity to transformations
• Invariance by structure, training, feature space
32
NN Learning
• Learning:
• To acquire and maintain knowledge of interest
• Knowledge of environment that will enable NN to achieve
its goals
• Prior information
• Current information
• Knowledge can be built into NNs from input-output
examples via learning using training algorithms
• The most powerful property of NNs: ability to learn and
generalize from a set of training data
33
NN Learning
• NNs adapt the weights of connections between
neurons so that final output activations are correct
• Three broad types of learning:
• Supervised Learning (learning with a teacher)
• Reinforcement learning (learning with environment feedback)
• Unsupervised learning (learning with no help)
• Most of human/animal learning is unsupervised
• If intelligence was a cherry ice-cream cake,
• unsupervised learning would be cake
• supervised learning would be icing on cake
• reinforcement learning would be cherry on cake
34
An Example
• Using NN for signature verification
• Prior knowledge
• Architecture of NN
• Current knowledge
• Input-output examples, being used for NN training
• Learning
• Modification of free parameters (weights, thresholds, …)
• Generalization
• Using the trained NN for predicting output for unseen
input
35
Advantages of ANNs
• Efficiency
• Inherent massively parallel
• Robustness
• Can deal with incomplete and/or noisy data
• Fault tolerance
• Still works when part of net fails
• User friendly
• Learning instead of programming
36
Drawbacks of ANNs
• Difficult to design
– No clear design rules for arbitrary applications
• Hard or impossible to train
– When training data are rare
• Difficult to assess internal operation (black box)
– Difficult to find out what tasks are performed by different
parts of the net
• Unpredictable
– Difficult to estimate future network performance based on
current behavior
37
Real-world NN applications
• Financial modeling (predicting stocks, currency exchange rates)
• Time series prediction (climate, weather, airline marketing)
• Computer games (intelligent agents, backgammon)
• Control systems (autonomous robots, microwave controllers)
• Pattern recognition (speech recognition, hand-writing recognition)
• Data analysis (data compression, data mining)
• Noise reduction (function approximation, ECG noise reduction)
• Bioinformatics (protein secondary structure, DNA sequencing)
38
Other Applications of NNs
39
History of NN
• 1943 McCulloch-Pitts neuron model
• 1949 Hebbian learning rule
• 1958 Single layer network, Perceptron
• 1960 Adaline
• 1969 Limitations of Perceptrons
• 1982 Kohonen nets, Associative memory,
Hopfield net
• 1985 ART
40
History of NN
• 1986 Back-propagation learning algorithm for
multi-layer Perceptron
• 1990s Radial basis function networks
• 2000 Ensembles of NNs, Cascaded Networks
• 2004 Deep Belief Networks
• 2010~ Convolutional Networks, Autoencoders, LSTMs
41
Some Useful Notations
𝑥𝑖, 𝑦𝑗 : outputs of units 𝑋𝑖 and 𝑌
𝑗
𝑤𝑖𝑗 : weight on connection between 𝑋𝑖 and 𝑌
𝑗
𝑏𝑗, 𝜃𝑗 : bias and threshold of neuron 𝑌
𝑗
𝑊 = 𝑤𝑖𝑗 , 𝑖 = 1, … , 𝑛 𝑗 = 1, … , 𝑚 = 𝑊
𝑛×𝑚
𝑤.𝑗 =
𝑤1𝑗
.
.
.
𝑤𝑛𝑗
vector of weights to 𝑌
𝑗
𝑦_𝑖𝑛𝑗 = net input to neuron 𝑌
𝑗
𝑦_𝑖𝑛𝑗 = 𝑏𝑗 + 𝑖=1
𝑛
𝑥𝑖𝑤𝑖𝑗 = 𝑏𝑗 + 𝑥 ∙ 𝑤.𝑗 ⇒ 𝑦𝑗 = 𝑓(𝑦_𝑖𝑛𝑗)
If the brain were so simple
that
we could understand it
then we would be so simple
that
we couldn't understand it
Lyall Watson

More Related Content

What's hot

Comparative study of ANNs and BNNs and mathematical modeling of a neuron
Comparative study of ANNs and BNNs and mathematical modeling of a neuronComparative study of ANNs and BNNs and mathematical modeling of a neuron
Comparative study of ANNs and BNNs and mathematical modeling of a neuron
Saransh Choudhary
 
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
Simplilearn
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
Dessy Amirudin
 
Introduction to Neural networks (under graduate course) Lecture 1 of 9
Introduction to Neural networks (under graduate course) Lecture 1 of 9Introduction to Neural networks (under graduate course) Lecture 1 of 9
Introduction to Neural networks (under graduate course) Lecture 1 of 9
Randa Elanwar
 
Introduction to Neural Networks
Introduction to Neural NetworksIntroduction to Neural Networks
Introduction to Neural Networks
Databricks
 
Neural networks
Neural networksNeural networks
Introduction to Neural networks (under graduate course) Lecture 7 of 9
Introduction to Neural networks (under graduate course) Lecture 7 of 9Introduction to Neural networks (under graduate course) Lecture 7 of 9
Introduction to Neural networks (under graduate course) Lecture 7 of 9
Randa Elanwar
 
Neural networks
Neural networksNeural networks
Neural networksSlideshare
 
Artificial Neural Networks Lect2: Neurobiology & Architectures of ANNS
Artificial Neural Networks Lect2: Neurobiology & Architectures of ANNSArtificial Neural Networks Lect2: Neurobiology & Architectures of ANNS
Artificial Neural Networks Lect2: Neurobiology & Architectures of ANNS
Mohammed Bennamoun
 
Intro to Neural Networks
Intro to Neural NetworksIntro to Neural Networks
Intro to Neural Networks
Dean Wyatte
 
Neural network
Neural networkNeural network
Neural network
KRISH na TimeTraveller
 
Dr. kiani artificial neural network lecture 1
Dr. kiani artificial neural network lecture 1Dr. kiani artificial neural network lecture 1
Dr. kiani artificial neural network lecture 1
Parinaz Faraji
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
Atul Krishna
 
Introduction to Neural networks (under graduate course) Lecture 8 of 9
Introduction to Neural networks (under graduate course) Lecture 8 of 9Introduction to Neural networks (under graduate course) Lecture 8 of 9
Introduction to Neural networks (under graduate course) Lecture 8 of 9
Randa Elanwar
 
cs4811-ch11-neural-networks.ppt
cs4811-ch11-neural-networks.pptcs4811-ch11-neural-networks.ppt
cs4811-ch11-neural-networks.pptbutest
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
Prakash K
 
Unit+i
Unit+iUnit+i
Artificial neural networks (2)
Artificial neural networks (2)Artificial neural networks (2)
Artificial neural networks (2)
sai anjaneya
 
Artificial neural networks
Artificial neural networks Artificial neural networks
Artificial neural networks
Institute of Technology Telkom
 
Neural networks
Neural networksNeural networks
Neural networks
Basil John
 

What's hot (20)

Comparative study of ANNs and BNNs and mathematical modeling of a neuron
Comparative study of ANNs and BNNs and mathematical modeling of a neuronComparative study of ANNs and BNNs and mathematical modeling of a neuron
Comparative study of ANNs and BNNs and mathematical modeling of a neuron
 
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Introduction to Neural networks (under graduate course) Lecture 1 of 9
Introduction to Neural networks (under graduate course) Lecture 1 of 9Introduction to Neural networks (under graduate course) Lecture 1 of 9
Introduction to Neural networks (under graduate course) Lecture 1 of 9
 
Introduction to Neural Networks
Introduction to Neural NetworksIntroduction to Neural Networks
Introduction to Neural Networks
 
Neural networks
Neural networksNeural networks
Neural networks
 
Introduction to Neural networks (under graduate course) Lecture 7 of 9
Introduction to Neural networks (under graduate course) Lecture 7 of 9Introduction to Neural networks (under graduate course) Lecture 7 of 9
Introduction to Neural networks (under graduate course) Lecture 7 of 9
 
Neural networks
Neural networksNeural networks
Neural networks
 
Artificial Neural Networks Lect2: Neurobiology & Architectures of ANNS
Artificial Neural Networks Lect2: Neurobiology & Architectures of ANNSArtificial Neural Networks Lect2: Neurobiology & Architectures of ANNS
Artificial Neural Networks Lect2: Neurobiology & Architectures of ANNS
 
Intro to Neural Networks
Intro to Neural NetworksIntro to Neural Networks
Intro to Neural Networks
 
Neural network
Neural networkNeural network
Neural network
 
Dr. kiani artificial neural network lecture 1
Dr. kiani artificial neural network lecture 1Dr. kiani artificial neural network lecture 1
Dr. kiani artificial neural network lecture 1
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Introduction to Neural networks (under graduate course) Lecture 8 of 9
Introduction to Neural networks (under graduate course) Lecture 8 of 9Introduction to Neural networks (under graduate course) Lecture 8 of 9
Introduction to Neural networks (under graduate course) Lecture 8 of 9
 
cs4811-ch11-neural-networks.ppt
cs4811-ch11-neural-networks.pptcs4811-ch11-neural-networks.ppt
cs4811-ch11-neural-networks.ppt
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Unit+i
Unit+iUnit+i
Unit+i
 
Artificial neural networks (2)
Artificial neural networks (2)Artificial neural networks (2)
Artificial neural networks (2)
 
Artificial neural networks
Artificial neural networks Artificial neural networks
Artificial neural networks
 
Neural networks
Neural networksNeural networks
Neural networks
 

Similar to Ch 1-1 introduction

02 Fundamental Concepts of ANN
02 Fundamental Concepts of ANN02 Fundamental Concepts of ANN
02 Fundamental Concepts of ANN
Tamer Ahmed Farrag, PhD
 
Lec 1-2-3-intr.
Lec 1-2-3-intr.Lec 1-2-3-intr.
Lec 1-2-3-intr.
Taymoor Nazmy
 
7 nn1-intro.ppt
7 nn1-intro.ppt7 nn1-intro.ppt
7 nn1-intro.ppt
Sambit Satpathy
 
w1-01-introtonn.ppt
w1-01-introtonn.pptw1-01-introtonn.ppt
w1-01-introtonn.ppt
KotaGuru1
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
nainabhatt2
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
NainaBhatt1
 
neuralnetwork.pptx
neuralnetwork.pptxneuralnetwork.pptx
neuralnetwork.pptx
SherinRappai1
 
neuralnetwork.pptx
neuralnetwork.pptxneuralnetwork.pptx
neuralnetwork.pptx
SherinRappai
 
Artificial Neural Networks for NIU session 2016 17
Artificial Neural Networks for NIU session 2016 17 Artificial Neural Networks for NIU session 2016 17
Artificial Neural Networks for NIU session 2016 17
Prof. Neeta Awasthy
 
Presentationnnnn
PresentationnnnnPresentationnnnn
Presentationnnnn
Sulman Ahmed
 
Artificial Neural Network Learning Algorithm.ppt
Artificial Neural Network Learning Algorithm.pptArtificial Neural Network Learning Algorithm.ppt
Artificial Neural Network Learning Algorithm.ppt
NJUSTAiMo
 
Artificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical DiagnosisArtificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical Diagnosis
Adityendra Kumar Singh
 
Artificial Neural Network (ANN
Artificial Neural Network (ANNArtificial Neural Network (ANN
Artificial Neural Network (ANN
Andrew Molina
 
Tsinghua invited talk_zhou_xing_v2r0
Tsinghua invited talk_zhou_xing_v2r0Tsinghua invited talk_zhou_xing_v2r0
Tsinghua invited talk_zhou_xing_v2r0
Joe Xing
 
From neural networks to deep learning
From neural networks to deep learningFrom neural networks to deep learning
From neural networks to deep learning
Viet-Trung TRAN
 
Neural network
Neural networkNeural network
Neural network
Saddam Hussain
 
neuralnetwork.pptx
neuralnetwork.pptxneuralnetwork.pptx
neuralnetwork.pptx
Karthik Rohan
 
nil-100128213838-phpapp02.pptx
nil-100128213838-phpapp02.pptxnil-100128213838-phpapp02.pptx
nil-100128213838-phpapp02.pptx
dlakmlkfma
 
nil-100128213838-phpapp02.pdf
nil-100128213838-phpapp02.pdfnil-100128213838-phpapp02.pdf
nil-100128213838-phpapp02.pdf
dlakmlkfma
 
Lecture on Deep Learning
Lecture on Deep LearningLecture on Deep Learning
Lecture on Deep Learning
Yasas Senarath
 

Similar to Ch 1-1 introduction (20)

02 Fundamental Concepts of ANN
02 Fundamental Concepts of ANN02 Fundamental Concepts of ANN
02 Fundamental Concepts of ANN
 
Lec 1-2-3-intr.
Lec 1-2-3-intr.Lec 1-2-3-intr.
Lec 1-2-3-intr.
 
7 nn1-intro.ppt
7 nn1-intro.ppt7 nn1-intro.ppt
7 nn1-intro.ppt
 
w1-01-introtonn.ppt
w1-01-introtonn.pptw1-01-introtonn.ppt
w1-01-introtonn.ppt
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
neuralnetwork.pptx
neuralnetwork.pptxneuralnetwork.pptx
neuralnetwork.pptx
 
neuralnetwork.pptx
neuralnetwork.pptxneuralnetwork.pptx
neuralnetwork.pptx
 
Artificial Neural Networks for NIU session 2016 17
Artificial Neural Networks for NIU session 2016 17 Artificial Neural Networks for NIU session 2016 17
Artificial Neural Networks for NIU session 2016 17
 
Presentationnnnn
PresentationnnnnPresentationnnnn
Presentationnnnn
 
Artificial Neural Network Learning Algorithm.ppt
Artificial Neural Network Learning Algorithm.pptArtificial Neural Network Learning Algorithm.ppt
Artificial Neural Network Learning Algorithm.ppt
 
Artificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical DiagnosisArtificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical Diagnosis
 
Artificial Neural Network (ANN
Artificial Neural Network (ANNArtificial Neural Network (ANN
Artificial Neural Network (ANN
 
Tsinghua invited talk_zhou_xing_v2r0
Tsinghua invited talk_zhou_xing_v2r0Tsinghua invited talk_zhou_xing_v2r0
Tsinghua invited talk_zhou_xing_v2r0
 
From neural networks to deep learning
From neural networks to deep learningFrom neural networks to deep learning
From neural networks to deep learning
 
Neural network
Neural networkNeural network
Neural network
 
neuralnetwork.pptx
neuralnetwork.pptxneuralnetwork.pptx
neuralnetwork.pptx
 
nil-100128213838-phpapp02.pptx
nil-100128213838-phpapp02.pptxnil-100128213838-phpapp02.pptx
nil-100128213838-phpapp02.pptx
 
nil-100128213838-phpapp02.pdf
nil-100128213838-phpapp02.pdfnil-100128213838-phpapp02.pdf
nil-100128213838-phpapp02.pdf
 
Lecture on Deep Learning
Lecture on Deep LearningLecture on Deep Learning
Lecture on Deep Learning
 

More from Zahra Amini

Dip azimifar enhancement_l05_2020
Dip azimifar enhancement_l05_2020Dip azimifar enhancement_l05_2020
Dip azimifar enhancement_l05_2020
Zahra Amini
 
Dip azimifar enhancement_l04_2020
Dip azimifar enhancement_l04_2020Dip azimifar enhancement_l04_2020
Dip azimifar enhancement_l04_2020
Zahra Amini
 
Dip azimifar enhancement_l03_2020
Dip azimifar enhancement_l03_2020Dip azimifar enhancement_l03_2020
Dip azimifar enhancement_l03_2020
Zahra Amini
 
Dip azimifar enhancement_l02_2020
Dip azimifar enhancement_l02_2020Dip azimifar enhancement_l02_2020
Dip azimifar enhancement_l02_2020
Zahra Amini
 
Dip azimifar enhancement_l01_2020
Dip azimifar enhancement_l01_2020Dip azimifar enhancement_l01_2020
Dip azimifar enhancement_l01_2020
Zahra Amini
 
Ch 1-3 nn learning 1-7
Ch 1-3 nn learning 1-7Ch 1-3 nn learning 1-7
Ch 1-3 nn learning 1-7
Zahra Amini
 
Ch 1-2 NN classifier
Ch 1-2 NN classifierCh 1-2 NN classifier
Ch 1-2 NN classifier
Zahra Amini
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
Zahra Amini
 
Kernel estimation(ref)
Kernel estimation(ref)Kernel estimation(ref)
Kernel estimation(ref)
Zahra Amini
 
Dr azimifar pattern recognition lect4
Dr azimifar pattern recognition lect4Dr azimifar pattern recognition lect4
Dr azimifar pattern recognition lect4
Zahra Amini
 
Dr azimifar pattern recognition lect2
Dr azimifar pattern recognition lect2Dr azimifar pattern recognition lect2
Dr azimifar pattern recognition lect2
Zahra Amini
 
Dr azimifar pattern recognition lect1
Dr azimifar pattern recognition lect1Dr azimifar pattern recognition lect1
Dr azimifar pattern recognition lect1
Zahra Amini
 

More from Zahra Amini (12)

Dip azimifar enhancement_l05_2020
Dip azimifar enhancement_l05_2020Dip azimifar enhancement_l05_2020
Dip azimifar enhancement_l05_2020
 
Dip azimifar enhancement_l04_2020
Dip azimifar enhancement_l04_2020Dip azimifar enhancement_l04_2020
Dip azimifar enhancement_l04_2020
 
Dip azimifar enhancement_l03_2020
Dip azimifar enhancement_l03_2020Dip azimifar enhancement_l03_2020
Dip azimifar enhancement_l03_2020
 
Dip azimifar enhancement_l02_2020
Dip azimifar enhancement_l02_2020Dip azimifar enhancement_l02_2020
Dip azimifar enhancement_l02_2020
 
Dip azimifar enhancement_l01_2020
Dip azimifar enhancement_l01_2020Dip azimifar enhancement_l01_2020
Dip azimifar enhancement_l01_2020
 
Ch 1-3 nn learning 1-7
Ch 1-3 nn learning 1-7Ch 1-3 nn learning 1-7
Ch 1-3 nn learning 1-7
 
Ch 1-2 NN classifier
Ch 1-2 NN classifierCh 1-2 NN classifier
Ch 1-2 NN classifier
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Kernel estimation(ref)
Kernel estimation(ref)Kernel estimation(ref)
Kernel estimation(ref)
 
Dr azimifar pattern recognition lect4
Dr azimifar pattern recognition lect4Dr azimifar pattern recognition lect4
Dr azimifar pattern recognition lect4
 
Dr azimifar pattern recognition lect2
Dr azimifar pattern recognition lect2Dr azimifar pattern recognition lect2
Dr azimifar pattern recognition lect2
 
Dr azimifar pattern recognition lect1
Dr azimifar pattern recognition lect1Dr azimifar pattern recognition lect1
Dr azimifar pattern recognition lect1
 

Recently uploaded

Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
role of pramana in research.pptx in science
role of pramana in research.pptx in sciencerole of pramana in research.pptx in science
role of pramana in research.pptx in science
sonaliswain16
 
GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
Areesha Ahmad
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
kejapriya1
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiologyBLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
NoelManyise1
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
Areesha Ahmad
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
Areesha Ahmad
 
Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
muralinath2
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
muralinath2
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
IqrimaNabilatulhusni
 
Toxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and ArsenicToxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and Arsenic
sanjana502982
 
extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
DiyaBiswas10
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
tonzsalvador2222
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
AlaminAfendy1
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
silvermistyshot
 

Recently uploaded (20)

Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
role of pramana in research.pptx in science
role of pramana in research.pptx in sciencerole of pramana in research.pptx in science
role of pramana in research.pptx in science
 
GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 
bordetella pertussis.................................ppt
bordetella pertussis.................................pptbordetella pertussis.................................ppt
bordetella pertussis.................................ppt
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiologyBLOOD AND BLOOD COMPONENT- introduction to blood physiology
BLOOD AND BLOOD COMPONENT- introduction to blood physiology
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
 
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of LipidsGBSN - Biochemistry (Unit 5) Chemistry of Lipids
GBSN - Biochemistry (Unit 5) Chemistry of Lipids
 
Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
general properties of oerganologametal.ppt
general properties of oerganologametal.pptgeneral properties of oerganologametal.ppt
general properties of oerganologametal.ppt
 
Toxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and ArsenicToxic effects of heavy metals : Lead and Arsenic
Toxic effects of heavy metals : Lead and Arsenic
 
extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
Lateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensiveLateral Ventricles.pdf very easy good diagrams comprehensive
Lateral Ventricles.pdf very easy good diagrams comprehensive
 

Ch 1-1 introduction

  • 1. Neural Networks & Deep Learning CSE & IT Department ECE School Shiraz University ONLY GOD Introduction to Neural Networks 2021
  • 2. 2 Biological Inspiration • Brain is a highly complex, nonlinear, and parallel computer • Simple processing units called neurons • Cycle times in milliseconds • Massive number of neurons (~ 1011 in humans) • Massive interconnection (~ 6012 connections) • Brain can perform certain tasks (pattern recognition, perception) many times faster than fastest digital computers
  • 3. 3 Natural Intelligence Structure of human brain • Frontal lobe • Reward, attention, planning, short-term memory, motivation • Parietal lobe • Sensory inputs from skin (touch, temperature, pain) • Occipital lobe • Visual processing center • Temporal lobe • Visual memories, language comprehension, emotion
  • 4. 4 From Receptor to Effector (~1s)
  • 5. 5 Human Nervous System Operation • May be broken down into three stages: • Receptors • Collect information from the environment (e.g. photons on the retina) • Convert stimuli from human body or environment into electrical pulses as information conveyer to brain
  • 6. 6 Organization of Human Nervous System • Neural network • Represents the brain which receives information and makes appropriate decisions • Effectors • Convert electrical impulses generated by the neural network into responses as system outputs • Generate interactions with the environment (e.g. activate muscles) • Arrows • Represent the flow of information/activation (feed-forward and feed-back)
  • 8. 8 Biological Neuron • Dendrites • Receptive zones that receive activation from other neurons • Cell body (soma) • Processes incoming activations and converts them into output activations • Axons • Transmission lines that send activation to other neurons • Synapses • Allow weighted transmission of signals (using neurotransmitters) between axons and dendrites
  • 9. 9 Brain: Amazingly Efficient Computer ~ 1011 neurons ~ 104 synapses per neuron ~ 10 spikes go through each synapse per second ~ 1016 operations per second ~ 25 Watts (Very efficient) ~ 1.4 Kg, 1.7 liters ~ 2500 cm2 (Unfolded cortex)
  • 10. 10 Action of Biological Neuron • Majority of neurons encode their outputs/activations as a series of brief electrical pulses (spikes or action potentials)
  • 11. 11 Firing of Neuron • Behavior is binary (a neuron either fires or not) • Neurons don’t fire if their accumulated activity stay below threshold • If activity is above threshold, a neuron fires (produces a spike) • The firing frequency increases with accumulated activity until max. firing frequency reached • The firing frequency is limited by refractory period of about 1-10 ms
  • 12. 12 Man vs. Machine (Hardware) Features Human brain Von Neumann computer # elements 1010 - 1012 simple neurons 107 - 108 transistors 104 complex processors # connections/element massive little or no Switching frequency slow (103 Hz) fast (109 - 1010 Hz) Energy/operation/sec. 10-16 Joule 10-6 Joule Power consumption 10 Watt 100 - 500 Watt Structure dynamic static Reliability of elements low reasonable Reliability of system high reasonable Decision speed/power high reasonable
  • 13. 13 Man vs. Machine (Software) Features Human brain Digital computer Data representation analog digital Memory localization distributed localized Control distributed localized Processing parallel sequential Skill acquisition adaptive-learnable pre-programming Fault/error tolerance fault tolerant intolerant to errors Structure trained designed Activation nonlinear linear
  • 14. 14 What are NNs? • Artificial neurons are crude approximations of neurons found in brains • Physical devices • Mathematical constructs • Artificial NNs (ANN) are networks of artificial neurons as crude approximations to parts of biological brains
  • 15. 15 Conceptual Definition of NNs • An ANN • Is a machine, designed to model the brain how performs a particular task or function of interest • Is either implemented in hardware or simulated in software • Mimics the brain or nervous system, in senses: • Structure (simple processing units, massive interconnection, …) • Functionality (learning, adaptability, fault tolerance, …)
  • 16. 16 Pragmatic Definition of NNs • An ANN • Is a massively connected parallel computational system • Made up of many simple processing units • Has propensity of storing experimental knowledge • Can perform tasks analogously to biological brains • Resembles the brain in two respects: • Knowledge is acquired by the network from the environment through a learning process • Inter-neuron connection strengths are used to store the acquired knowledge
  • 17. 17 Why NNs? • They are extremely powerful computational devices • Massive parallelism makes them very efficient • They can learn from training data and generalize to new situations • They are particularly fault tolerant (as “graceful degradation” in biological systems) • They are robust and noise tolerant • They can do anything a symbolic/logic system can do, and more
  • 19. 19 Characteristic of Neuron • A neuron can receive many inputs • Inputs may be modified by synaptic weights at receiving dendrites • A neuron sums its weighted inputs • An activation function limits amplitude of output to {0, 1} • A neuron can transmit an output signal • Output can go to many other neurons
  • 20. 20 Artificial Neuron Mathematically, 𝑣 = 𝑤0 + 𝑖=1 𝑛 𝑥𝑖𝑤𝑖 ⟹ 𝑦 = 𝑓 𝑣 𝑓 . : 𝑡ℎ𝑟𝑒𝑠ℎ𝑜𝑙𝑑 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛
  • 21. 21 Artificial Neural Network 𝑦_𝑖𝑛 = 𝑥1𝑤1 + 𝑥2𝑤2 + 𝑏 𝑦 = 𝑓(𝑦_𝑖𝑛) X2 Y 𝑤1 𝑤2 X1 𝑏 1
  • 22. 22 ANN Features • Neurons act nonlinearly • Information processing is local • Memory is distributed • The dendrite weights learn through experience • The weights may be inhibitory or excitatory • Neurons can generalize novel input stimuli • Neurons are fault tolerant and can sustain damage
  • 23. 23 ANN Categories • Direction of information (signal) flow • Feed-forward network (no feed-back connections) • Recurrent network (with at least one feed-back connection) • Number of layers • Single layer network • Single hidden-layer network • Multilayer network (shallow/deep network) • Connectivity • Fully-connected network • Partially-connected network
  • 24. 24 ANN Categories • Activation function • Threshold (binary, bipolar) • Linear (identity) • Nonlinear (sigmoid, radial-basis) • Learning methodology • Supervised learning • Unsupervised learning • Reinforced learning • Training method • Static • Dynamic
  • 25. 25 NN Design Decisions • Architecture: pattern of connections between neurons • No. of layers, no. of neurons in each layer, no. of links • Connectivity • Learning algorithm: method of determining the connection weights • Supervised, self-organizing, competitive • Activation function: mapping of neurons' behavior • Threshold, linear, nonlinear
  • 27. 27 Multilayer Feed-forward NN • More powerful • Harder to train • Open loop X1 Xn Zp Z1 Ym Y1 ⋮ ⋮ ⋮
  • 28. 28 Recurrent NN • More powerful • Harder to train • Closed loop
  • 29. 29 Knowledge Representation in ANN • What is knowledge? • Information or models used to interpret, predict and appropriately respond to outside world (environment) • Quality of knowledge representation generally translates into quality of solution • Better representation means better solution • Knowledge representation in NNs is not well-understood • There is little theory that relates a given weight to a particular piece of information • Knowledge is encoded in free parameters of NN • Weights and thresholds
  • 30. 30 Knowledge Representation Rules • Rule 1: • Similar inputs from similar classes should usually produce similar representations inside the network, and should, therefore, be classified as belonging to the same category • Rule 2: • Inputs to be characterized as separate classes should be given widely different representations in the network • Rule 3: • If a particular feature is important, then there should be a large number of neurons involved in representation of that item in network • Rule 4: • Prior knowledge and invariances should be built into design of network, thus simplifying learning
  • 31. 31 Knowledge Representation Rules • Advantages of building-in prior knowledge • Specialized structure • Benefits of specialized structure • Biologically plausible, less complication, fewer free parameters, faster training, fewer examples needed, better generalization • How to build-in prior knowledge • No hard and fast rules • In general, use domain knowledge to reduce complexity of NN based on its performance characteristics • Built-in Invariances • Invariance? • Fault tolerance • Immunity to transformations • Invariance by structure, training, feature space
  • 32. 32 NN Learning • Learning: • To acquire and maintain knowledge of interest • Knowledge of environment that will enable NN to achieve its goals • Prior information • Current information • Knowledge can be built into NNs from input-output examples via learning using training algorithms • The most powerful property of NNs: ability to learn and generalize from a set of training data
  • 33. 33 NN Learning • NNs adapt the weights of connections between neurons so that final output activations are correct • Three broad types of learning: • Supervised Learning (learning with a teacher) • Reinforcement learning (learning with environment feedback) • Unsupervised learning (learning with no help) • Most of human/animal learning is unsupervised • If intelligence was a cherry ice-cream cake, • unsupervised learning would be cake • supervised learning would be icing on cake • reinforcement learning would be cherry on cake
  • 34. 34 An Example • Using NN for signature verification • Prior knowledge • Architecture of NN • Current knowledge • Input-output examples, being used for NN training • Learning • Modification of free parameters (weights, thresholds, …) • Generalization • Using the trained NN for predicting output for unseen input
  • 35. 35 Advantages of ANNs • Efficiency • Inherent massively parallel • Robustness • Can deal with incomplete and/or noisy data • Fault tolerance • Still works when part of net fails • User friendly • Learning instead of programming
  • 36. 36 Drawbacks of ANNs • Difficult to design – No clear design rules for arbitrary applications • Hard or impossible to train – When training data are rare • Difficult to assess internal operation (black box) – Difficult to find out what tasks are performed by different parts of the net • Unpredictable – Difficult to estimate future network performance based on current behavior
  • 37. 37 Real-world NN applications • Financial modeling (predicting stocks, currency exchange rates) • Time series prediction (climate, weather, airline marketing) • Computer games (intelligent agents, backgammon) • Control systems (autonomous robots, microwave controllers) • Pattern recognition (speech recognition, hand-writing recognition) • Data analysis (data compression, data mining) • Noise reduction (function approximation, ECG noise reduction) • Bioinformatics (protein secondary structure, DNA sequencing)
  • 39. 39 History of NN • 1943 McCulloch-Pitts neuron model • 1949 Hebbian learning rule • 1958 Single layer network, Perceptron • 1960 Adaline • 1969 Limitations of Perceptrons • 1982 Kohonen nets, Associative memory, Hopfield net • 1985 ART
  • 40. 40 History of NN • 1986 Back-propagation learning algorithm for multi-layer Perceptron • 1990s Radial basis function networks • 2000 Ensembles of NNs, Cascaded Networks • 2004 Deep Belief Networks • 2010~ Convolutional Networks, Autoencoders, LSTMs
  • 41. 41 Some Useful Notations 𝑥𝑖, 𝑦𝑗 : outputs of units 𝑋𝑖 and 𝑌 𝑗 𝑤𝑖𝑗 : weight on connection between 𝑋𝑖 and 𝑌 𝑗 𝑏𝑗, 𝜃𝑗 : bias and threshold of neuron 𝑌 𝑗 𝑊 = 𝑤𝑖𝑗 , 𝑖 = 1, … , 𝑛 𝑗 = 1, … , 𝑚 = 𝑊 𝑛×𝑚 𝑤.𝑗 = 𝑤1𝑗 . . . 𝑤𝑛𝑗 vector of weights to 𝑌 𝑗 𝑦_𝑖𝑛𝑗 = net input to neuron 𝑌 𝑗 𝑦_𝑖𝑛𝑗 = 𝑏𝑗 + 𝑖=1 𝑛 𝑥𝑖𝑤𝑖𝑗 = 𝑏𝑗 + 𝑥 ∙ 𝑤.𝑗 ⇒ 𝑦𝑗 = 𝑓(𝑦_𝑖𝑛𝑗)
  • 42. If the brain were so simple that we could understand it then we would be so simple that we couldn't understand it Lyall Watson