<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Artificial Neural Network in PHP</title>
	<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/</link>
	<description>Java programming tips and advice, and other topics</description>
	<pubDate>Wed, 19 Nov 2008 12:05:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: Eddy</title>
		<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-33249</link>
		<pubDate>Wed, 17 Jan 2007 11:36:07 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-33249</guid>
					<description>Not proper SOM, but by combining two networks and training one as a trainer, you can achieve something close enough.</description>
		<content:encoded><![CDATA[<p>Not proper SOM, but by combining two networks and training one as a trainer, you can achieve something close enough.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: PHWizard</title>
		<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-32321</link>
		<pubDate>Thu, 11 Jan 2007 17:33:23 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-32321</guid>
					<description>Is it applicable for SOM?</description>
		<content:encoded><![CDATA[<p>Is it applicable for SOM?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Eddy</title>
		<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-715</link>
		<pubDate>Fri, 05 Aug 2005 09:54:01 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-715</guid>
					<description>Fixed broken link to download the file.</description>
		<content:encoded><![CDATA[<p>Fixed broken link to download the file.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jorge Evangelista</title>
		<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-713</link>
		<pubDate>Wed, 03 Aug 2005 21:15:06 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-713</guid>
					<description>Where I can download the files?

nn.php - the ANN implementation classes
XOR_Training.php - the sample script for training a XOR 
XOR_Run.php - the sample script to evaluate XOR operations
xor.dat - the saved XOR network architecture and weights</description>
		<content:encoded><![CDATA[<p>Where I can download the files?</p>
<p>nn.php - the ANN implementation classes<br />
XOR_Training.php - the sample script for training a XOR<br />
XOR_Run.php - the sample script to evaluate XOR operations<br />
xor.dat - the saved XOR network architecture and weights
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Shubhra Sankar Ray</title>
		<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-634</link>
		<pubDate>Wed, 08 Jun 2005 13:02:01 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-634</guid>
					<description>I think you can design it yourself. Just read carefully the XOR problem from any good book. For example you can go through Neural Networks of Simon Haykin</description>
		<content:encoded><![CDATA[<p>I think you can design it yourself. Just read carefully the XOR problem from any good book. For example you can go through Neural Networks of Simon Haykin
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Steffen Nissen</title>
		<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-55</link>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-55</guid>
					<description>Hi,

PHP bindings has just been released for the Fast Artificial Neural Network Library (fann)

http://fann.sourceforge.net/

Thought you might want to know.

Regards,
 Steffen</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>PHP bindings has just been released for the Fast Artificial Neural Network Library (fann)</p>
<p><a href='http://fann.sourceforge.net/' rel='nofollow'>http://fann.sourceforge.net/</a></p>
<p>Thought you might want to know.</p>
<p>Regards,<br />
 Steffen
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tobias Wiersch</title>
		<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-56</link>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-56</guid>
					<description>If you use PHP as an Apache-module, the following problem can appear:
When you load, train and save a network and in the same PHP-script you want the network to be loaded again, the network is not loaded correctly, because the function filesize() returns the old size of the serialised network (if the new filesize is larger than the old filesize, the network is broken and not loaded).

To fix this, add a clearstatcache() in the network-load-function (in nn.php):

&lt;pre&gt;
function &#038;load($filename) {
  if (file_exists($filename) ) {
    clearstatcache();
    $f = fopen($filename, "r");
    $serialised = fread($f, filesize($filename));
[...]
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>If you use PHP as an Apache-module, the following problem can appear:<br />
When you load, train and save a network and in the same PHP-script you want the network to be loaded again, the network is not loaded correctly, because the function filesize() returns the old size of the serialised network (if the new filesize is larger than the old filesize, the network is broken and not loaded).</p>
<p>To fix this, add a clearstatcache() in the network-load-function (in nn.php):</p>
<pre>
function &#038;load($filename) {
  if (file_exists($filename) ) {
    clearstatcache();
    $f = fopen($filename, "r");
    $serialised = fread($f, filesize($filename));
[...]
</pre>
]]></content:encoded>
				</item>
	<item>
		<title>by: apeksha</title>
		<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-57</link>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-57</guid>
					<description>hi</description>
		<content:encoded><![CDATA[<p>hi
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: haider banka</title>
		<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-58</link>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-58</guid>
					<description>sir,
can u please send me the C code for XOr problem using ANN with back propagation.</description>
		<content:encoded><![CDATA[<p>sir,<br />
can u please send me the C code for XOr problem using ANN with back propagation.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Eddy Young</title>
		<link>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-59</link>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2004/03/19/artificial-neural-network-in-php/#comment-59</guid>
					<description>The whole point of this article is to show how to write an ANN in PHP. There are many other examples in C that you can get elsewhere on the Internet. Unfortunately, I do not have any.
</description>
		<content:encoded><![CDATA[<p>The whole point of this article is to show how to write an ANN in PHP. There are many other examples in C that you can get elsewhere on the Internet. Unfortunately, I do not have any.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
