HOPFIELD

所属分类:人工智能/神经网络/深度学习
开发工具:C/C++
文件大小:31KB
下载次数:10
上传日期:2007-09-23 20:09:56
上 传 者inertial_navigation
说明:  hopfield网络的C++实现,对初学者听有用的
(hopfield network C++ realize, listening to useful for beginners)

文件列表:
HOPFIELD\H7X8D4.TST (123, 1994-12-20)
HOPFIELD\H7X8D5.TST (123, 1993-07-19)
HOPFIELD\H7X8D5R.TST (123, 1994-12-20)
HOPFIELD\H7X8D7.TST (123, 1994-12-20)
HOPFIELD\H7X8D9.TST (138, 1993-07-20)
HOPFIELD\H7X8N4.TRN (499, 1993-07-21)
HOPFIELD\HOPNET.CPP (9657, 1995-08-26)
HOPFIELD\HOPNET.EXE (51248, 1995-08-26)
HOPFIELD (0, 2003-05-18)

这程序是《神经网络模式识别及其实现》(Pattern Recognition with Neural Networks in C++)美Abhijit S. Pandya等著电子工业出版社1999年6月 书号ISBN 7-5053-5088-9 的第九章<神经联想记忆和Hopfield网络>附的程序 This code in this directory implements the binary hopfield network. Source code may be found in HOPNET.CPP. A sample training file is H7x8N4.trn. Sample test pattern files are: H7x8D4.TST, H5x8D7.TST, H5x8D7.TST and H5x8D9.TST, Output of the program goes to both the screen and a file, ARCHIVE.LST. USAGE: To run the program for a single test pattern type the following on the command line: +---------Test pattern file name | (specify "RANDOM" for random test pattern) | HOPNET TrainFile TestFile | +----------------Training set file name for example: To run the HOPNET with the sample training set and the test pattern file H7X8D4.TST type the following at the command line: HOPNET H7X8N4.TRN H7X8D4.TST Network results are displayed on the screen and stored to archive.lst To compile: ICC HOPNET.CPP PIXEL MAPS: The following figures represent the digits in the sample training set. X = Pixel ON . = Pixel OFF XX..XX. XXXXXX. XXXXXXX ...XX.. XX..XX. XXXXXX. XXXXXXX .XX..XX XX..XX. XX..... .....XX .XX...X XX..XX. XX..... .....XX .XX..XX XXXXXX. .XXXX.. .....XX ..XXXXX XXXXXX. .....XX ....XX. .....XX ....XX. .....XX ....XX. .....XX ....XX. XXXXX.. ....XX. .....XX DIGIT 4 DIGIT 5 DIGIT 7 DIGIT 9 NET SIZE: The net sized used was 7 by 8. The theoretical lower bound limit (from P=.15N) for P = 4 decisons is N = 27 neurons. The networks I tried in this lower range did not perform very well,Perhaps because of the lack of orthogonality among patterns reuired to represent the 7,9,4, and 5 digit pixel maps. The 7x8 network did converge properly when trained as above. 

近期下载者

相关文件


收藏者