Difference between revisions of "Installation"

From Artificial Neural Network for PHP
Line 9: Line 9:
   
 
tar -xzf ann200.tar.gz
 
tar -xzf ann200.tar.gz
  +
  +
* Copy the directory ANN to your library directory of your project.
   
 
* Including to your source
 
* Including to your source
   
 
<code>
 
<code>
  +
<b>&lt;?php</b><br />&nbsp;<br />
 
  +
<?php
<b>require_once</b> ('ANN/ANN_Network.php');<br>
 
  +
$ann = <b>new</b> ANN_Network;<br />&nbsp;<br />
 
 
require_once ('ANN/ANN_Network.php');
<b>?&gt;</b><br>
 
  +
 
$ann = new ANN_Network;
  +
  +
?>
  +
 
</code>
 
</code>

Revision as of 23:05, 17 December 2007

ANN - Artificial Neural Network for PHP 5.x

This chapter describes the steps to implement the ANN source code to your project.


Installation

  • Unpack the source code

tar -xzf ann200.tar.gz

  • Copy the directory ANN to your library directory of your project.
  • Including to your source

<?php

require_once ('ANN/ANN_Network.php');

$ann = new ANN_Network;

?>