Predictive Modeling BI 4
Predictive Modeling BI 4
Questions for
Discussion
1. How did neural networks help save lives in the mining
industry?
2. What were the challenges, the proposed solution, and the
obtained results?
Elements of ANN
x1 (PE)
x2 Weighted Transfer
(PE) Sum Function
Y1
x3 (S) (f)
(PE)
(PE) (PE)
Output
(PE)
Layer
Hidden
(PE)
Layer Neural Network with
Input
One Hidden Layer
Layer
Elements of ANN
x1 x1 w11 (PE) Y1
w1
w21
(PE) Y
w1 w12
x2 Y = X 1W1 + X 2W2
x2 w22 (PE) Y2
PE: Processing Element (or neuron)
Y1 = X1W11 + X 2W21
Summation Function for a Single w23
Y2 = X1W12 + X2W22
Neuron (a), and
Y3 = X 2W 23 (PE) Y3
Several Neurons (b)
Elements of ANN
• Transformation (Transfer) Function
– Linear function
– Sigmoid (logical activation) function [0 1]
– Tangent Hyperbolic function [-1 1]
X3 = 2
❖ Threshold value?
Neural Network Architectures
• Architecture of a neural network is driven by the
task it is intended to address
– Classification, regression, clustering, general
optimization, association, ….
• Most popular architecture: Feedforward, multi-
layered perceptron with backpropagation learning
algorithm
– Used for both classification and regression type
problems
• Others – Recurrent, self-organizing feature maps,
Hopfield networks, …
Neural Network Architectures
Feed-Forward Neural Networks
Socio-demographic
Predicted
= vs. Actual
Religious
Voted “yes” or
“no” to legalizing
Financial gaming
. .
. .
. .
Other
Yes
Stop
learning
Support Vector Machines (SVM)
L1
M
X2 X2 ar
gi
L2 n
e
an
L3
l
rp
pe
hy
n
gi
ar
-m
um
im
ax
M
X1 X1
Pre-processed data
k=3
k=5
Yi
Xi X
The Process of k-NN Method
Training Set
Parameter Setting
Validation Set
Predicting
Classify (or Forecast)
new cases using k
number of most
similar cases
New Data
k-NN Model Parameter
1. Similarity Measure: The Distance Metric