473,687 Members | 3,510 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2332

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
1346
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 RSS Feed which fetches the list of new Extensions for the CMS Typo3 (www.typo3.org) and stores them in a database. Whenever somebody requests the RSS Feed the Feed XML is generated out of the database.
2
4281
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 mentions \f but illustrates no way write it to a text file. Thanks
0
1596
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 pages at www.feedburner.com. When you publish a feed, users can click on any files associated with the feed that are displayed in a nice looking webpage format, and if you want to put the feed into iTunes, you simply copy the same URL into your...
2
1690
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 runat="server"> <title>Untitled Page</title> <link rel="alternate" type="application/rss+xml" title="RSS Feed Test" href="http://localhost/rss/rssfeedtest.rss" /> </head>
1
1313
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 providing rss links? Is rss a good solution? If so, I think I have two options:
1
2568
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 error "End tag 'head' does not match the start tag 'meta'". Does any one on here have any experience with this? The script is shown below, the Neowin feed works but the google feed does not. Any help would be appreciated.
6
2370
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 file to track how many times our feed was accessed? Just to get a rough idea how manyh subscribers we have? Not sure if copying and pasting a javascript into the XML source would work.
5
2433
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. Here's why I "think" I want to use an RSS feed, and what I'm confused about. I have one file (and one file only) on my web site that changes
1
1648
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 category will probably have several new listings every hour. What's generally the recommended update frequency for an RSS feed? Also, in each update, do you exclude content that was in previous feeds, or do you leave it up to the reader to sort out...
2
3228
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 it....///// // feed // // LOADS THE RSS FEED FOR // LOOPS THROUGH AND FORMATS/FILTERS POSTS // PULLS THE TIMESTAMP OF THE LATEST UPDATE FROM THE DB // IF THERE ARE NEW POSTS, ADD THEM TO THE DATABASE ///// public function feed($feed,$type) { if...
0
8590
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8528
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9072
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8782
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8786
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7621
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6453
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4321
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2215
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.