Difference between revisions of "Installation"

From Artificial Neural Network for PHP
Line 3: Line 3:
 
This chapter describes the steps to implement the ANN source code to your project.
 
This chapter describes the steps to implement the ANN source code to your project.
   
  +
== Documentation ==
  +
  +
* [http://ann.thwien.de/phpdoc/ Documentation (HTML online)]
  +
  +
== Requirements ==
  +
  +
The latest implementation requires a php environment running '''PHP 5.2.x''' or above. If using the client-server mechanism of the network class, the '''curl extension''' must be available on the client host which connects to an ANN server. If using class ''ANN_NetworkGraph'' '''GD library with png support''' must be installed.
   
 
== Installation ==
 
== Installation ==

Revision as of 20:26, 28 December 2008

ANN - Artificial Neural Network for PHP 5.x

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

Documentation

Requirements

The latest implementation requires a php environment running PHP 5.2.x or above. If using the client-server mechanism of the network class, the curl extension must be available on the client host which connects to an ANN server. If using class ANN_NetworkGraph GD library with png support must be installed.

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