Looking for the latest version? Download ffnet-0.8.3.tar.gz (69.1 kB)
Home / ffnet / ffnet-0.6.2
Name Modified Size Downloads / Week Status
Parent folder
ffnet-0.6.2.tar.gz 2009-10-27 59.6 kB 0
README 2009-10-27 4.0 kB 0
ffnet-0.6.2.ebuild 2009-10-27 1.2 kB 0
ffnet-0.6.2.win32-py2.6.exe 2009-10-27 373.9 kB 0
ffnet-0.6.2.win32-py2.5.exe 2009-10-27 239.4 kB 0
ffnet-0.6.2.zip 2009-10-27 64.1 kB 0
Totals: 6 Items   742.2 kB
This is ffnet-0.6 README file. Distributed under the terms of the GNU General Public License (GPL) http://www.gnu.org/copyleft/gpl.html Copyright (C) 2007 by Marek Wojciechowski <mwojc@p.lodz.pl> Overview -------- ffnet is a fast and easy-to-use feed-forward neural network training solution for python. For documentation and usage examples go to http://ffnet.sourceforge.net or browse source distribution of the software. Requirements ------------ ffnet needs at least: * python-2.5 * numpy-1.3 * scipy-0.7 * networkx-0.35 For plots (which appear in examples) you'll need also the matplotlib package (http://matplotlib.sourceforge.net/). For plotting the network architecture graphviz library and pygraphviz or pydot wrappers are useful (but are not necessary). If you're going to compile ffnet from sources you'll need also python header files and C and Fortran 77 compiler. Installation of those depends on your operating system (for example on Ubuntu Linux you need 'python-dev', 'gcc' and 'g77' or 'gfortran'). Download -------- Go to http://ffnet.sourceforge.net to download latest release version of ffnet. You can also download development version from ffnet subversion repository (you need subversion installed on your system): svn co https://ffnet.svn.sourceforge.net/svnroot/ffnet/trunk ffnet In order to grab the latest development snapshot via your web browser go to http://ffnet.svn.sourceforge.net/viewvc/ffnet/trunk/ and download the tarball. Be aware that development versions are not guaranteed to be fully functional. Installation ------------ For building from sources you can try: easy_install ffnet If this doesn't work for you (for example you don't have setuptools installed) you can try the options below: 1. Building from source on Linux/Unix. Unpack ffnet to the directory of your choice, enter this directory and run: python setup.py install ffnet uses numpy.distutils and f2py tool to compile Fortran parts of the program. The above will work if you are running Linux/Unix system with gcc and g77 (gfortran). If you need to use another compiler run: f2py -c --help-fcompiler to see a list of supported compilers. For example, installing with Intel Fortran Compiler on 32-bit machine looks like: python setup.py install --fcompiler=intel 2. Binary packages for Linux/Unix You are welcome to produce binary packages for your Linux distributions. I will publish them on ffnet download page. 3. Building from source on Windows. If you have mingw compilers installed, run: python setup.py build --compiler=mingw32 python setup.py install --skip-build To install mingw download: http://downloads.sourceforge.net/mingw/MinGW-5.1.6.exe. Don't forget to check g77 to be installed and remember to add C:\MinGW\bin directory to system variable Path. Note that python installation directory should also be in Path. 4. Binary installers for Windows: Double click the installation program. Attention: Binary packages work only for python versions indicated by installer name. Testing ------- Installation can be tested with: from ffnet._tests import runtest runtest() Execute also ffnet examples. They all should work. Basic usage ----------- >>> from ffnet import ffnet, mlgraph, savenet, loadnet, exportnet >>> conec = mlgraph( (2,2,1) ) >>> net = ffnet(conec) >>> input = [ [0.,0.], [0.,1.], [1.,0.], [1.,1.] ] >>> target = [ [1.], [0.], [0.], [1.] ] >>> net.train_tnc(input, target, maxfun = 1000) >>> net.test(input, target, iprint = 2) >>> savenet(net, "xor.net") >>> exportnet(net, "xor.f") >>> net = loadnet("xor.net") >>> answer = net( [ 0., 0. ] ) >>> partial_derivatives = net.derivative( [ 0., 0. ] ) Notes ----- Windows users might be interested in installing Enthought Python Distribution: http://www.enthought.com/products/getepd.php which reaches all ffnet requirements and is free for non-commercial use. It is also very convenient to use ffnet interactively with ipython, an enhanced python shell. See http://ipython.scipy.org/moin.
Source: README, updated 2009-10-27

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks