Difference between revisions of "Installation"

From Artificial Neural Network for PHP
Line 21: Line 21:
 
require_once ('ANN/ANN_Loader.php');
 
require_once ('ANN/ANN_Loader.php');
   
$ann = new ANN_Network;
+
$objANN = new ANN_Network;
   
 
?>
 
?>
Line 27: Line 27:
   
 
* Learn to use the library. Have a look to chapter [[Examples]].
 
* Learn to use the library. Have a look to chapter [[Examples]].
  +
  +
== Performance issues ==
  +
  +
* Install Zend Optimizer
  +
* Do not use any debugger module like xdebug

Revision as of 15:57, 27 December 2008

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 ann206.tar.gz
  • Copy the directory ANN to your library directory of your project.
  • Including to your source
<?php

require_once ('ANN/ANN_Loader.php');

$objANN = new ANN_Network;

?>
  • Learn to use the library. Have a look to chapter Examples.

Performance issues

  • Install Zend Optimizer
  • Do not use any debugger module like xdebug