Skip to content

Mahtab-Shabani/Implementation-of-Hopfield-neural-network-for-Character-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Implementation-of-Hopfield-neural-network-for-Character-Recognition

Goal: Recognition of six first uppercase English letters by Hopfield neural network (even if they are noisy)

training set: ABCDEFZ

test set: noisy images

STEPS:

1. Create Network:

[handles.X handles.T]=prprob();
handles.Letters='ABCDEFZ';
handles.LettersIndex=double(handles.Letters)-64;
handles.P=handles.X(:,handles.LettersIndex);
handles.net=newhop(handles.P);

image

2. Add Noise:

a = a + 0.1 * randn(size(a));

image

3. Test and RUN!

image

Releases

No releases published

Packages

No packages published

Languages