Neural Computing

Download Report

Transcript Neural Computing

Introduction to Neural
Networks And Their
Applications
1
Table of Contents
I. Introduction of Neural Networks
II. Application of Neural Networks
III. Theory of Neural Networks
IV. A Neural Network Demo
2
What is neural networks ?

3
http://www.youtube.com/watch?v
=DG5UyRBQD4&feature=rellist&playnext
=1&list=PL4FA5D71B0BA92C1C
I. Introduction of Neural Networks




4
It is simulation of human brain
It is the most well known artificial
intelligence techniques
We are using them: voice recognition
system, reading hand writes, door rocks
et al.
It is a called black box
It is a simulator for human brain


Neural Networks simulate human brain
Learning in Human Brain



Neural Networks As Simulator For Human
Brain


5
Neurons
Connection Between Neurons
Processing Elements or Nodes
Weights
II. Applications of Neural Networks
6

Prediction of Outcomes

Patterns Detection in Data

Classification
Business ANN Applications -1

Accounting



Finance









7
Identify tax fraud
Enhance auditing by finding irregularities
Signatures and bank note verifications
Foreign exchange rate forecasting
Bankruptcy prediction
Customer credit scoring
Credit card approval and fraud detection*
Stock and commodity selection and trading
Forecasting economic turning points
Pricing initial public offerings*
Loan approvals
Business ANN Applications -2

Human Resources



Management





Consumer spending pattern classification
Sales forecasts
Targeted marketing, …
Operations


8
Corporate merger prediction
Country risk rating
Marketing


Predicting employees’ performance and behavior
Determining personnel resource requirements
Vehicle routing
Production/job scheduling, …
III. Theory of Neural Networks

9
Neural Computing is a problem solving
methodology that attempts to mimic
how human brain functions

Artificial Neural Networks (ANN)

Machine Learning/Artificial Intelligence
The Biological Analogy

Neurons: brain cells




10
Nucleus (at the center)
Dendrites provide inputs
Axons send outputs
Synapses increase or
decrease connection
strength and cause
excitation or inhibition of
subsequent neurons
Artificial Neural Networks (ANN)
Biological
Soma
Dendrites
Axon
Synapse
11
<->
<->
<->
<->
Artificial
Node
Input
Output
Weight
Three Interconnected
Artificial Neurons
Basic structure of Neural Networks

Network Structure : Layers, Nodes and Weights
Input Layer
12
Hidden Layer
Output Layer
ANN Fundamentals
13
ANN Fundamentals: how informatio
is processed in ANN

Processing Information by the Network

Inputs
Outputs
Weights
Summation Function

Figure 15.5



14
Learning in NN(Neural Network) is
finding the best numeric values (X),
representing input (4) and output(8)
relationship ( ex: 4 * X = 8 )
*Try with x= 1, x= 2, x=3, …… When x=4, it solve the problem.
1.
2.
3.
15
Compute outputs
Compare outputs with
desired targets
Adjust the weights
and repeat the
process
Neural Network Architecture

16
There are several ANN architectures
:feed forward, recurrent, Hopfield et al.
Neural Network Architecture

Feed forward Neural Network
: Multi Layer Perceptron, - Two, Three, sometimes
Four or Five Layers, But normally 3 layers are
common structure.
17
How a Network Learns


Step function evaluates the summation of
input values
Calculating outputs
Measure the error (delta) between outputs and
desired values
 Update weights, reinforcing correct results
At any step in the process for a neuron, j, we get
Delta(Error) = Zj - Yj
where Z and Y are the desired and actual outputs,
respectively

18
Backpropagation
Initialize the weights
Read the input
vector
Generate the output
Compute the error
Error = Output –
Desired output
Change the weights
1.
2.
3.
4.
5.

Drawbacks:


19
A large network can take a very long time to train
May not converge
Training A Neural Networks



20
Neural Networks learn from data
Learning is finding the best weights
values which represent the input and
output relationship in Neural Networks
(ex: 4*X= 8)-> finding the value for X
training data set and test data set



21
Collect data and separate it into
 Training set (50%), Testing set
 Training set (60%), Testing set
 Training set (70%), Testing set
 Training set (80%), Testing set
 Training set (90%), Testing set
(50%)
(40%)
(30%)
(20%)
(10%)
Use training data set to build model
Use test data set to validate the trained network
Prediction with New Data


22
If the Neural Network's performance in
test is good , it can be used to predict
outcome of new unseen data
If the performance with test is not
good, you should collect more data,
add more input variables
How does Neural Network work
for prediction?
Terms in Neural
Networks
23
Demo – How does Neural
Network work for prediction?
24
ANN Development Tools








25
E-Miner
Clementine
NeuroSolutions
Statistica Neural
Network Toolkit
Braincel (Excel Add-in)
NeuralWorks
Brainmaker
PathFinder




Trajan Neural Network
Simulator
NeuroShell Easy
SPSS Neural Connector
NeuroWare
Why use Neural Networks in
Prediction? - major benefits of
Neural Networks
26
Benefits of ANN
Advantages:

Non-linear model leads to better performance

It works generally good when data size is small

It works generally good when there are noises in
data

It works generally good when there are missing in
data (incomplete data set)

Fast decision making
27
Diverse Applications:

Pattern recognition

Character, speech and visual recognition
Limitations of ANN



28
Black box that is hardly understood by
human
Lack of explanation capabilities
Training time can be excessive and
tedious
IV. A Neural Networks Demo
How do neural networks learn?
: trials and errors
http://www.youtube.com/watch?v=0
Str0Rdkxxo

29