473,395 Members | 1,556 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

feed-forward neural network for python

Hi!
I released feed-forward neural network for python (ffnet) project at
sourceforge. Implementation is extremelly fast (code written mostly in
fortran with thin python interface, scipy optimizers involved) and very
easy to use.
I'm announcing it here because you, folks, are potential users/testers.

If anyone is interested please visit http://ffnet.sourceforge.net (and
then post comments if any...)

Greetings
--
Marek Wojciechowski

Dec 7 '06 #1
2 2317

mwojc wrote:
Hi!
I released feed-forward neural network for python (ffnet) project at
sourceforge. Implementation is extremelly fast (code written mostly in
fortran with thin python interface, scipy optimizers involved) and very
easy to use.
I'm announcing it here because you, folks, are potential users/testers.

If anyone is interested please visit http://ffnet.sourceforge.net (and
then post comments if any...)
Thanks for making available your code. The Fortran code compiles with
both g95 and gfortran. I looked at the code briefly, and it is
well-documented and clear, but I do wonder why you are writing new code
in Fortran 77. Using free source form instead of fixed source form
would make the code more readable, and using the array operations of
Fortran 90 would make it more concise. Gfortran is a Fortran 95
compiler and is part of gcc, so using Fortran 95 features should not
inhibit portability.

I think using the single letter "o" as a variable name is a bad idea --
it looks too much like "0".

I would like to see a Fortran driver (main program) for the code, so I
could see an example of its use independent from Python and f2py.

Dec 7 '06 #2
Beliavsky napisal(a):
mwojc wrote:
Hi!
I released feed-forward neural network for python (ffnet) project at
sourceforge. Implementation is extremelly fast (code written mostly in
fortran with thin python interface, scipy optimizers involved) and very
easy to use.
I'm announcing it here because you, folks, are potential users/testers.

If anyone is interested please visit http://ffnet.sourceforge.net (and
then post comments if any...)

Thanks for making available your code. The Fortran code compiles with
both g95 and gfortran. I looked at the code briefly, and it is
well-documented and clear, but I do wonder why you are writing new code
in Fortran 77. Using free source form instead of fixed source form
would make the code more readable, and using the array operations of
Fortran 90 would make it more concise. Gfortran is a Fortran 95
compiler and is part of gcc, so using Fortran 95 features should not
inhibit portability.
There are three reasons I use Fortran 77:
1. g77 compiler is just everywhere.
2. fortran 77 code compiles with all subsequent fortrans.
3. f2py not necessarily support fortran 90/95 instructions.
Portability of Fortran 95 is not so obvious, for example my 2-years old
Gentoo Linux has only g77
and I think there are many people like me.
I think using the single letter "o" as a variable name is a bad idea --
it looks too much like "0".
You're right, thanks.
I would like to see a Fortran driver (main program) for the code, so I
could see an example of its use independent from Python and f2py.
Yes, this would be nice. The only problem is that all data arrays
defining the network
are set up in python. The simple case however (like XOR) can be
inserted manually
(or read from file) and I'll try to include this in the next release.

In fact, in my work, I plan to train the networks in python but use
them also from fortran.

Thanks

Marek

Dec 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Kraft Bernhard | last post by:
Hallo list, I don't know if this is a apropriate Newsgroup for this thread but I found it via google and there are already some RSS question in here so I'm just asking: I have written a...
2
by: Brad Sanders | last post by:
Hello All, Thanks to Richard's answer to my last post I understand now what I have to do, but.. How do I put a Line Feed or a Form Feed into a text file? Looking throught the .net help it...
0
by: Jon | last post by:
All, I'm extremely new to XML and have been given a project that at this time seems way over my head. Was hoping someone here could help. Basically, I need a page that functions much like...
2
by: John A Grandy | last post by:
Apparently all that is necessary for an RSS feed reader to auto-discover an RSS feed associated with a page received and rendered by the browser is to include the following on the page : <head...
1
by: hp_1981 | last post by:
Hi My website is a web directory like dmoz and yahoo directory. Can I let webmasters or even weblog owners to have a copy of my site, allowing them to present it the way they want to, by...
1
by: Steve | last post by:
I have a script that has been modified from one that I found on the internet to display RSS feeds in html. The script works fine for most RSS feeds but there are a number that it fails on with the...
6
by: affiliateian | last post by:
Total newbie here for this so please be patient. We manually update our XML feed when we publish an article on our website. Can we add a javascript tracking pixel (from phpadsnew) into the XML...
5
by: Ed Flecko | last post by:
Hi folks, I'm trying to figure out this whole RSS feed thing. I've created my .xml file to use for my feed, and my browsers "recognize" that I have an RSS feed, and you can subscribe, etc., etc....
1
by: paul.hester | last post by:
Hi all, I work for a classified-type site and am planning on having an RSS feed for each category. I understand the basics of RSS, but I can't decide how often to update each RSS feed. Each...
2
jamwil
by: jamwil | last post by:
What's up guys. I'm having some issues... I've created a method as part of my lifestreaming class which takes an rss feed, and puts the data into a database... It's fairly simple... Check...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.