Busiess Analytics Data Mining Lecture 7
Busiess Analytics Data Mining Lecture 7
x1
w1 Y1
.
. Summation
Transfer
.
Function
wn Yn
xn
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
Feed-forward MLP with 1 Hidden Layer
Neural Network Architectures
Recurrent Neural Networks
Other Popular ANN Paradigms
Self-Organizing Maps (SOM)
Yes
Stop
learning
Backpropagation Learning
a(Zi – Yi)
x1 error
w1
. Summation
Transfer
Function
wn
xn
D1
M
X2 X2
ar
gi
L2
n
e
an
L3
l
rp
pe
hy
n
gi
ar
-m
um
im
ax
M
X1 X1
Managing Student
Retention with
Predictive Modeling
How Does an SVM Work?
▪Following a machine-learning process, an
SVM learns from the historic cases.
▪The Process of Building SVM
1. Preprocess the data
▪ Scrub and transform the data.
2. Develop the model.
▪ Select the kernel type (RBF is often a natural choice---Radial Basis
function)
▪ Determine the kernel parameters for the selected kernel type.
▪ If the results are satisfactory, finalize the model; otherwise change
the kernel type and/or kernel parameters to achieve the desired
accuracy level.
3. Extract and deploy the model.
The Process of Building an SVM
Pre-Process the Data
Training
ü Scrub the data
data
“Identify and handle missing,
incorrect, and noisy”
ü Transform the data
“Numerisize, normalize and
standardize the data”
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