Artificial Neural Networks

26
ARTIFICIAL NEURAL NETWORKS End of Semester Presentation Presented by: Saif Al Kalbani 39579/12 20-05-2014 ECCE6206 Switching Theory: Design and Practice Spring 2014 1 Sultan Qaboos University College of Engineering Department of Electrical and Computer Engineering

description

Introduction to Artificial Neural Networks

Transcript of Artificial Neural Networks

Page 1: Artificial Neural Networks

1

ARTIFICIAL NEURAL NETWORKS

End of Semester Presentation

Presented by:Saif Al Kalbani 39579/12

20-05-2014

ECCE6206Switching Theory: Design and PracticeSpring 2014

Sultan Qaboos UniversityCollege of Engineering

Department of Electrical and Computer Engineering

Page 2: Artificial Neural Networks

2

Outline

Introduction General Architecture Learning Examples Applications Neuro-Fuzzy Conclusion

Page 3: Artificial Neural Networks

3

Applications

Input is high-dimensional discrete or real-valued (e.g. raw sensor input)

Output is discrete or real valued Output is a vector of values Form of target function is unknown Control System

Transfer function with huge number of inputs

Unknown transfer function

Page 4: Artificial Neural Networks

4

General Architecture

Network Interconnections Layers

Input layers Hidden layers Output layer

Inp

uts

Output

Page 5: Artificial Neural Networks

5

General Architecture

Page 6: Artificial Neural Networks

6

General Architecture

Threshold switching units Weighted interconnections among units Highly parallel, distributed processing Learning by tuning the connection weights

Page 7: Artificial Neural Networks

7

General Architecture

Page 8: Artificial Neural Networks

8

General Architecture

• Layers• Activation function• Learning

Page 9: Artificial Neural Networks

9

Layers

• The input layer.– Introduces input values into the network.– No activation function or other processing.

• The hidden layer(s).– Perform classification of features– Two hidden layers are sufficient to solve any

problem– Features imply more layers may be better

• The output layer.– Functionally just like the hidden layers– Outputs are passed on to the world outside the

neural network.

Page 10: Artificial Neural Networks

10

Examples

Page 11: Artificial Neural Networks

11

Activation Function

Page 12: Artificial Neural Networks

12

Learning

• Adjust neural network weights to map inputs to outputs.

• Use a set of sample patterns where the desired output (given the inputs presented) is known.

• The purpose is to learn to generalize– Recognize features which are common to

good and bad exemplars– Types

– Supervises– Unsupervised

Page 13: Artificial Neural Networks

13

Supervised Learning

Training and test data sets Training set; input & target

Page 14: Artificial Neural Networks

14

Learning

wi = wi + wi

wi = (t - o) xi

t=c(x) is the target value o is the perceptron output Is a small constant (e.g. 0.1) called learning rate

• If the output is correct (t=o) the weights wi are not changed

• If the output is incorrect (to) the weights wi are changed such that the output of the perceptron for the new weights is closer to t.

The algorithm converges to the correct classification• if the training data is linearly separable and is sufficiently

small

Page 15: Artificial Neural Networks

15

Learning

For ANDA B Output0 0 00 1 01 0 01 1 1

t = 0.15

y

x

W = 0.0

W = 0.0

x y Summation Output

0 0 (0*0.0) + (0*0.0) = 0.0 0

0 1 (0*0.0) + (1*0.0) = 0.0 0

1 0 (1*0.0) + (0*0.0) = 0.0 0

1 1 (1*0.0) + (1*0.0) = 0.0 0

T-o=1wi = (t - o) xi

=0.1wi=(1)*1*0.1=0.1Then Add 0.1 to the weights

Page 16: Artificial Neural Networks

16

Learning

For ANDA B Output0 0 00 1 01 0 01 1 1

t = 0.15

y

x

W = 0.1

W = 0.1

x y Summation Output

0 0 (0*0.1) + (0*0.1) = 0.0 0

0 1 (0*0.1) + (1*0.1) = 0.1 0

1 0 (1*0.1) + (0*0.1) = 0.1 0

1 1 (1*0.1) + (1*0.1) = 0.2 1

Page 17: Artificial Neural Networks

17

Decision Boundary

X1

X2

A

B

A

A

AA

AA

B

B

B

B

B

B

B DecisionBoundary

Page 18: Artificial Neural Networks

18

Strength

Solving complex problems Inputs are complex, large, unknown Transfer function is unknown

Adaptation Adaptive controllers Learning process

Page 19: Artificial Neural Networks

19

Shortfalls

Learning Weights

Processing time Delays in processing Sensing

Set up Layers

Page 20: Artificial Neural Networks

20

Application Example

• Engine Control Unit (ECU) in new cars• Fuel injector• The behaviour of a car engine is influenced

by a large number of parameters– temperature at various points– fuel/air mixture– lubricant viscosity.

• Major companies have used neural networks to dynamically tune an engine depending on current settings.

Page 21: Artificial Neural Networks

21

Neuro-Fuzzy

Hybrid controllers ANN controllers Fuzzy logic Controllers

Adaptation Rules

Membership functions

Page 22: Artificial Neural Networks

22

Neuro-Fuzzy

Page 23: Artificial Neural Networks

23

Conclusion

Ability of ANN to Adapt through learning Solve complex systems

ANN is claimed to be able to solve any problem with a maximum of two hidden layers

Page 24: Artificial Neural Networks

24

Thank You

Q&A

Page 25: Artificial Neural Networks

25 Back-up

Page 26: Artificial Neural Networks

26

Fuzzy System