Difference between revisions of "Installation"

From Artificial Neural Network for PHP
Line 14: Line 14:
 
* Including to your source
 
* Including to your source
   
  +
<b><?php</b><br />
<code>
 
 
<b>require_once</b> ('ANN/ANN_Network.php');<br />
 
 
$ann = <b>new</b> ANN_Network;<br />
<?php
 
  +
<b>?></b>
 
require_once ('ANN/ANN_Network.php');
 
 
$ann = new ANN_Network;
 
 
?>
 
 
</code>
 

Revision as of 23:53, 19 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;
?>