Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIFH3 - example_hopfield_hebbian.py the result is same as input #36

Open
jichen3000 opened this issue May 7, 2016 · 0 comments
Open

Comments

@jichen3000
Copy link

I ran the example_hopfield_hebbian.py, and found the cycle only 1, and the output was just same as input.

But I suppose it should not like this, otherwise this arithmetic is useless.

The output is:

Cycles until stable(max 100): 1, result=
O O O O O    ->   O O O O O 
 O O O O O   ->    O O O O O
O O O O O    ->   O O O O O 
 O O O O O   ->    O O O O O
O O O O O    ->   O O O O O 
 O O O O O   ->    O O O O O
O O O O O    ->   O O O O O 
 O O O O O   ->    O O O O O
O O O O O    ->   O O O O O 
 O O O O O   ->    O O O O O
----------------------
Cycles until stable(max 100): 1, result=
OO  OO  OO   ->   OO  OO  OO
OO  OO  OO   ->   OO  OO  OO
  OO  OO     ->     OO  OO  
  OO  OO     ->     OO  OO  
OO  OO  OO   ->   OO  OO  OO
OO  OO  OO   ->   OO  OO  OO
  OO  OO     ->     OO  OO  
  OO  OO     ->     OO  OO  
OO  OO  OO   ->   OO  OO  OO
OO  OO  OO   ->   OO  OO  OO
----------------------
Cycles until stable(max 100): 1, result=
OOOOO        ->   OOOOO     
OOOOO        ->   OOOOO     
OOOOO        ->   OOOOO     
OOOOO        ->   OOOOO     
OOOOO        ->   OOOOO     
     OOOOO   ->        OOOOO
     OOOOO   ->        OOOOO
     OOOOO   ->        OOOOO
     OOOOO   ->        OOOOO
     OOOOO   ->        OOOOO
----------------------
Cycles until stable(max 100): 1, result=
O  O  O  O   ->   O  O  O  O
 O  O  O     ->    O  O  O  
  O  O  O    ->     O  O  O 
O  O  O  O   ->   O  O  O  O
 O  O  O     ->    O  O  O  
  O  O  O    ->     O  O  O 
O  O  O  O   ->   O  O  O  O
 O  O  O     ->    O  O  O  
  O  O  O    ->     O  O  O 
O  O  O  O   ->   O  O  O  O
----------------------
Cycles until stable(max 100): 1, result=
OOOOOOOOOO   ->   OOOOOOOOOO
O        O   ->   O        O
O OOOOOO O   ->   O OOOOOO O
O O    O O   ->   O O    O O
O O OO O O   ->   O O OO O O
O O OO O O   ->   O O OO O O
O O    O O   ->   O O    O O
O OOOOOO O   ->   O OOOOOO O
O        O   ->   O        O
OOOOOOOOOO   ->   OOOOOOOOOO
----------------------
Cycles until stable(max 100): 1, result=
O O O O O    ->   O O O O O 
 O O O O O   ->    O O O O O
O O O O O    ->   O O O O O 
 O O O O O   ->    O O O O O
O O O O O    ->   O O O O O 
 O O O O O   ->    O O O O O
O O O O O    ->   O O O O O 
 O O O O O   ->    O O O O O
O O O O O    ->   O O O O O 
 O O O O O   ->    O O O O O
----------------------
Cycles until stable(max 100): 1, result=
OO  OO  OO   ->   OO  OO  OO
OO  OO  OO   ->   OO  OO  OO
  OO  OO     ->     OO  OO  
  OO  OO     ->     OO  OO  
OO  OO  OO   ->   OO  OO  OO
OO  OO  OO   ->   OO  OO  OO
  OO  OO     ->     OO  OO  
  OO  OO     ->     OO  OO  
OO  OO  OO   ->   OO  OO  OO
OO  OO  OO   ->   OO  OO  OO
----------------------
Cycles until stable(max 100): 1, result=
OOOOO        ->   OOOOO     
OOOOO        ->   OOOOO     
OOOOO        ->   OOOOO     
OOOOO        ->   OOOOO     
OOOOO        ->   OOOOO     
     OOOOO   ->        OOOOO
     OOOOO   ->        OOOOO
     OOOOO   ->        OOOOO
     OOOOO   ->        OOOOO
     OOOOO   ->        OOOOO
----------------------
Cycles until stable(max 100): 1, result=
O  O  O  O   ->   O  O  O  O
 O  O  O     ->    O  O  O  
  O  O  O    ->     O  O  O 
O  O  O  O   ->   O  O  O  O
 O  O  O     ->    O  O  O  
  O  O  O    ->     O  O  O 
O  O  O  O   ->   O  O  O  O
 O  O  O     ->    O  O  O  
  O  O  O    ->     O  O  O 
O  O  O  O   ->   O  O  O  O
----------------------
Cycles until stable(max 100): 1, result=
OOOOOOOOOO   ->   OOOOOOOOOO
O        O   ->   O        O
O OOOOOO O   ->   O OOOOOO O
O O    O O   ->   O O    O O
O O OO O O   ->   O O OO O O
O O OO O O   ->   O O OO O O
O O    O O   ->   O O    O O
O OOOOOO O   ->   O OOOOOO O
O        O   ->   O        O
OOOOOOOOOO   ->   OOOOOOOOOO
----------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant