ANNand Its Applicationsin Civil Engineering
ANNand Its Applicationsin Civil Engineering
On
Machine Learning for Civil Engineers
Series #3
RASTA
Theme
Center for Road
Technology
Artificial Neural Networks and
Their Applications in Civil
Engineering
Dr.M.A.Jayaram
Professor
RASTA- Center for Road Technology
VOLVO- Construction Equipment Campus
Bengaluru
ML for Civil Engineers
Series #3
Two Days Workshop On
ANN & Civil Engg Applications
August 10-11, 2023
Dr.M.A.Jayaram
Professor
Biological and Artificial Neural Nets
Biological Motivation
To develop a feel for this analogy, let us consider a few facts from
neurobiology
The human brain, is estimated to contain a densely interconnected
network of approximately 1011 neurons, each connected, on
average, to 10 4 neurons.
A NEURON IS A SIGNAL PROCESSING UNIT
The fastest neuron switching times are known to be on the order
of 10-3 seconds--quite slow compared to computer switching
speeds of 10-10 seconds. Yet humans are able to make surprisingly
complex decisions, surprisingly quickly. For example, it requires
approximately 10-1 seconds to visually recognize your mother.
If the biological neural network is stretched in a line, it
would cover around 5 km
While ANNs are loosely motivated by biological neural systems. Indeed
a vague mimicry!!
A Biological
Neural
Network is a
massive
connection
of neurons
Nucleus
Dendrites
Synaptic
Junctions
Axons
Synapse
w1 o
x2 w2
Activation function
The representational power of a
perceptron
x0
x1
w0 -0.3
0.5
w1 o
Hard limiting
activation
function
x2 w2 (0,1)
0.5 (1,1)
O = 0.5x1+0.5x2-0.3
OR
0 0 -1
1 0 1
0 1 1 (0,0) (1,0)
1 1 1
The representational power of a
perceptron
x0
x1 -0.8 Perceptron
w0
0.5
w1 o
x2 w2 (0,1)
0.5 (1,1)
O = 0.5x1+0.5x2-0.8
0 0 -1
1 0 -1
0 1 -1
AND
1 1 1
(0,0) (1,0)
OR
x1 The activation functions will decide the
w11
1 w13 nature of boundaries…….
O
w12
3 (1,1)
(0,1)
w21 w23
2
x2 w22
Inputs Output
(0,0) (1,0)
1 1 -1
0 0 -1
1 0 1
0 1 1 The representational power of a
perceptron
b1
Values of X1 b3
w1 w3
The locus of
boundaries
Values of X2 w4
w2
b2
X2
X1
Representational Power of a Multilayer Network
x1
O1
x2
x3
O2
x4
In general an ANN can represent:
A Boolean Value ( 0, 1) through a Boolean Function
12.2 3 1
1
11.4 4 1
4.2 1.5 0
3.4 1.2 0
12.8 4 1 0
17.3 6 1
vector
2.The target function output may be discrete-valued, real-valued, or
a vector of several real- or discrete-valued attributes
15 34 16 14 7 1 0 0
1
11 10 14 18 6 0 1 0
7 9 11 10 8 0 0 1 0
16 41 22 15 9 1 0 0 0
14.6 33.2 24.6 13.2 11 1 0 0
Back Propagation
Preliminary Ideas
y
Input xi
x
xi
xi
xi
Input X3
Input x3
Zero for the
third term
+0
X Values
Center for Road Technology
Deep by Action of each hidden layer : The feature extraction is done in hidden layer.
In the example given above, the raw data of images are provided to the
first layer of the input layer. These input layer will determine the
patterns of local contrast and differentiate on the basis of colors,
luminosity, etc.
1st hidden layer will determine the face feature, i.e., it will fixate on
eyes, nose, and lips, etc. And then, it will fixate those face features on
the correct face template.
2nd hidden layer, will determine the correct face here as it can be seen
in the above image, after which it will be sent to the output layer.
Deep Learning Methods/Types
Deep Learning
Transformers
Long term
Memory Neural
Recurrent Neural Networks
Networks
1 2 3 4 5 6 7
Intervals of time/time scale
Also , the longer a changing entity measured over time ,
the more data we will have for it.
For example we have more time points for the
measures from a company represented by blue
line
Than we have for the company represented
by red line
High
Medium
Low
1 2 3 4 5 6 7 8 9 10
Intervals of time/time scale
Medium
Low
1 2 3 4 5 6 7 8 9
Intervals of time/time scale
In deep learning based networks
We have
a portion of makes
image is covered by 6
x 6 pixels.
CoveredNo more, no less…!!
….And activation
functions
Now we put
yesterday’s Value
Where would
the gradient
go??
Is there
anything
that we can
do about
them??
THE END