Docsity

Understanding Neural Networks: Perceptron, Hamming Network, and Hopfield Network, Slides of Banking and Finance

Partial preview of the text

Download Understanding Neural Networks: Perceptron, Hamming Network, and Hopfield Network and more Slides Banking and Finance in PDF only on Docsity!

An

Illustrative

Example

Docsity.co

Apple/Banana Sorter

Sensors

Apples

Bananas

Neural

Network

Sorter

Docsity.co

Perceptron

  • Exp -^ - Title -

p

a

n

AA

W

AAAA

b

R (^) x (^1)

S (^) x (^) R

S (^) x (^1)

S (^) x (^1)

S (^) x (^1)

Inputs

AAA

Sym. Hard Limit Layer

a

hardlims

Wp

b

R

S

Docsity.co

Two-Input Case

p

1

a

n

Inputs

b

p

2

w

1,

w

1,

AAAA

a

hardlims

Wp

b

Two-Input Neuron

AAAA

W

2

2

n (^) > 0

n (^) < 0

p 1

p 2

a

hardlims n

(

)

hardlims

1 2

p

2

(

)

(

)

=

=

w 1 1 ,

1

=

w 1 2 ,

2

=

Wp

b

0

=

1 2

p

2

(

)

0

=

Decision Boundary

Docsity.co

Testing the Network

a

hardlims

1 banana (

Banana: Apple:

a

hardlims

apple

“Rough” Banana:

a

hardlims

1 banana (

Docsity.co

Hamming Network

  • Exp 1 -

p

a 1

A W 1

AA b 1

1

n 1

R (^) x (^1)

S (^) x (^) R

S (^) x (^1)

S (^) x (^1)

S (^) x (^1)

AAAAAA

a 1 =^ (^) purelin

(^) ( W 1 p (^) + (^) b )^1

Feedforward Layer

S (^) x (^1)

S (^) x (^1)

a 2 ( t

(^) 1)

n (^2 t (^) + (^) 1)

AAAA S (^) x (^) S

W 2

S

AA D

a (^2 t )

Recurrent Layer

a 2 (0) =

(^) a (^1)

a 2 ( t

(^) 1) (^) = (^) poslin

(^) ( W 2 a 2 ( t ))

S (^) x (^1)

S

AAA

R

Docsity.co

Recurrent Layer

a 1

S (^) x (^1)

S (^) x (^1)

S (^) x (^1)

a (^2 t

(^) 1)

n 2 ( t

(^) 1)

AAAA S (^) x (^) S

W 2

S

AA D

a (^2 t )

Recurrent Layer

a (0) =^2

(^) a 1

a (^2 t

(^) 1) (^) = (^) poslin

(^) ( W

a^2 (^2 t ))

S (^) x (^1)

AAA

W

2

ε

ε

ε

S

a

2 t

poslin

ε

ε

a

2 t

poslin

a 1 2 t

ε a 2 2 t

a 2 2 t

ε a 1 2 t

Docsity.co

Hamming Operation

p

Input (Rough Banana)

a

1

First Layer

Docsity.co

Hopfield Network

Recurrent Layer

AA^1 AA AA

S (^) x (^1)

S (^) x (^) S

S (^) x (^1)

S (^) x (^1)

S (^) x (^1)

Initial

Condition

p

a ( t

(^) 1)

n ( t

(^) 1)

b W

S

S

AAAA

D

AAAAAA

a ( t )

a (0) =

(^) p

a ( t (^) + (^) 1) (^) = (^) satlins

(^) ( Wa

( t ) (^) + (^) b )

S (^) x (^1)

Docsity.co

Apple/Banana Problem

W

b

a 1 t

1

(

)

satlins

a 1 t

( )

(

)

=

a 2 t

1

(

)

satlins

a 2

t

( )

(

)

=

a 3

t

1

(

)

satlins 0.

a 3 t

( )

(

)

=

a

a

a

a

Test: “Rough” Banana

(Banana)

Docsity.co