Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter 6:
Techniques for Predictive
Modeling
Learning Objectives
Understand the concept and definitions of
artificial neural networks (ANN)
Learn the different types of ANN
architectures
Know how learning happens in ANN
Become familiar with ANN applications
Understand the sensitivity analysis in ANN
Understand the concept and structure of
support vector machines (SVM) (Continued…)
6-2 Copyright © 2014 Pearson Education, Inc.
Learning Objectives
Learn the advantages and disadvantages
of SVM compared to ANN
Understand the concept and formulation
of k-nearest neighbor algorithm (kNN)
Learn the process of applying kNN
Learn the advantages and disadvantages
of kNN compared to ANN and SVM
Axon
Axon
Dendrites Soma
Soma
x1
w1 Y1
.
. Summation
Transfer
.
Function
wn Yn
xn
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?
6-12 Copyright © 2014 Pearson Education, Inc.
Elements of ANN
Processing element (PE)
Network architecture
Hidden layers
Parallel processing
Network information processing
Inputs
Outputs
Connection weights
Summation function
6-13 Copyright © 2014 Pearson Education, Inc.
Elements of ANN
x1 (PE)
x2 Weighted Transfer
(PE) Sum Function
Y1
x3 (S) (f)
(PE)
(PE) (PE)
Output
(PE)
Layer
Hidden
Neural Network with
(PE)
Layer
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 Y3
Several Neurons (b)
(PE)
X3 = 2
Threshold value?
Socio-demographic
Predicted
= vs. Actual
Religious
Voted “yes” or
“no” to legalizing
Financial gaming
. .
. .
. .
Other
Class 9 - BLOCKBUSTER
9 (BO > 200M)
Yes
Stop
learning
a(Zi – Yi)
x1 error
w1
. Summation
Transfer
Function
wn
xn
D1
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
The answer
depends on the
value of k
Xi X
6-42 Copyright © 2014 Pearson Education, Inc.
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
Questions, comments