pyfannWin32

所属分类:人工智能/神经网络/深度学习
开发工具:Python
文件大小:318KB
下载次数:108
上传日期:2009-04-20 16:09:52
上 传 者motoste
说明:  python 神经网络 数据挖掘 python实现的神经网络算法
(python data mining neural network python of neural network algorithm to achieve)

文件列表:
python\build.bat (72, 2004-10-09)
python\INSTALL (967, 2006-03-18)
python\Makefile (944, 2006-04-05)
python\setup.py (1711, 2006-03-19)
python\CVS (0, 2007-10-30)
python\CVS\Entries (283, 2007-09-30)
python\CVS\Entries.Extra (129, 2007-09-30)
python\CVS\Entries.Extra.Old (129, 2007-09-30)
python\CVS\Entries.Old (238, 2007-09-30)
python\CVS\Repository (13, 2007-09-30)
python\CVS\Root (59, 2007-09-30)
python\CVS\Tag (11, 2007-09-30)
python\examples (0, 2007-10-30)
python\examples\cascade_train.py (1862, 2006-03-18)
python\examples\fann_trainer.py (9716, 2007-02-01)
python\examples\mushroom.py (1726, 2006-03-18)
python\examples\simple_train.py (602, 2006-03-18)
python\examples\CVS (0, 2007-10-30)
python\examples\CVS\Entries (232, 2007-09-30)
python\examples\CVS\Entries.Extra (101, 2007-09-30)
python\examples\CVS\Entries.Extra.Old (101, 2007-09-30)
python\examples\CVS\Entries.Old (196, 2007-09-30)
python\examples\CVS\Repository (22, 2007-09-30)
python\examples\CVS\Root (59, 2007-09-30)
python\examples\CVS\Tag (11, 2007-09-30)
python\pyfann (0, 2007-10-30)
python\pyfann\fann_cpp_subclass.h (18835, 2007-09-30)
python\pyfann\libfann.py (21668, 2007-10-30)
python\pyfann\Makefile (550, 2006-03-18)
python\pyfann\makefile.msvc (555, 2005-05-01)
python\pyfann\pyfann.i (5835, 2007-09-30)
python\pyfann\pyfann_wrap.cxx (250735, 2007-10-30)
python\pyfann\__init__.py (113, 2006-03-18)
python\pyfann\CVS (0, 2007-10-30)
python\pyfann\CVS\Entries (281, 2007-09-30)
python\pyfann\CVS\Entries.Extra (114, 2007-09-30)
python\pyfann\CVS\Entries.Extra.Old (114, 2007-09-30)
python\pyfann\CVS\Entries.Old (232, 2007-09-30)
python\pyfann\CVS\Repository (20, 2007-09-30)
... ...

Python binding for fann compiled for Windows with Visual Studio C++ 2005 Professional. To use the precompiled binding copy the contents of the python/pyfannWin32/precompiled subdirectory to a pyfann directory in your python library directory ex. D:/Python24/Lib/pyfann/. Then use the simple_train.py example from the python binding to get started. ----------------------------- See Readme.txt in python\pyfannWin32 for more details. ----------------------------- Sample usage: from pyfann import libfann myAnn = libfann.neural_net() myAnn.create_standard_array([2, 8, 9, 1]) myAnn.get_num_input() myAnn.get_num_output() myAnn.print_parameters() myAnn.set_learning_rate(0.7) myAnn.set_activation_function_output(libfann.SIGMOID_SYMMETRIC_STEPWISE) myAnn.run([1.0,1.0]) myAnn.train([1.0,1.0],[-1.0]) myAnn.run([1.0,1.0]) data = libfann.training_data() data.set_train_data([[-1.0, -1.0], [-1.0, 1.0], [1.0, -1.0], [1.0, 1.0]], [[-1.0], [1.0], [1.0], [-1.0]]) myAnn.train_on_data(data, 1000, 50, 0.001) myAnn.run([-1.0,-1.0]) myAnn.run([-1.0, 1.0]) myAnn.run([ 1.0,-1.0]) myAnn.run([ 1.0, 1.0]) -----------------------------

近期下载者

相关文件


收藏者