Installation: Difference between revisions

From Artificial Neural Network for PHP
No edit summary
No edit summary
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 23:47, 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;

?>