13,090,730 members (43,556 online)
alternative version

#### Stats

30K views
20 bookmarked
Posted 31 Oct 2007

# Hebb neural network

, 31 Oct 2007
 Rate this:
implementation of ocr by hebb algorithm

## Introduction

In the name of God.

This a sample for OCR(Optical Character Recognition) in c#.

At this Program use the Hebb Algorithm.

## Background

Donald Hebb in 1949 write a Article for single-layer problem.

## Using the code

int y=0; int j;
int[,] total ={
{1,-1,-1,-1,1,-1,1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,1,-1,1,-1,-1,-1,1},
{-1,1,1,1,-1,1,-1,-1,-1,1,1,-1,-1,-1,1,1,-1,-1,-1,1,-1,1,1,1,-1 }
};
int[] temp = new int[25];
for (int i = 0; i < 2; i++)
{
for ( j = 0; j < 25; j++)
temp[j] = total[i,j];
switch(i){
case 0: y=1;break;
case 1: y=-1;break;
}
for (j = 0; j < 25; j++)
{
weight[j] = weight[j] + temp[j] * y;
bias = bias + y;
}
}
for (j = 0; j < 25; j++)
{
}

A list of licenses authors might use can be found here

## Share

 United States
I am Mohammad Mehdi Norian From Iran (esfahan).
I am a Programmer.
my languages program is delphi,c#.net,pascal,c++,assembly,etc.
but my primary language is delphi.
I study computer software at university.
wish you the best.

## You may also be interested in...

 Pro

 First Prev Next
 soal p.razi15-Dec-07 2:31 p.razi 15-Dec-07 2:31
 ba salam,harja ke esme ye irani ro mibinim vagan zug mikonim, movafag bashin
 soal p.razi15-Dec-07 2:29 p.razi 15-Dec-07 2:29
 i can't try in most cases. lulukuku11-Nov-07 22:50 lulukuku 11-Nov-07 22:50
 Would you... Stevie1-Nov-07 0:57 Stevie 1-Nov-07 0:57
 Re: Would you... Dewey1-Nov-07 7:55 Dewey 1-Nov-07 7:55
 Re: Would you... Bert delaVega1-Nov-07 10:03 Bert delaVega 1-Nov-07 10:03
 Last Visit: 31-Dec-99 18:00     Last Update: 20-Aug-17 0:49 Refresh 1