Difference between revisions of "Installation"

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

Revision as of 00:47, 20 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;

?>