Installation: Difference between revisions

From Artificial Neural Network for PHP
(New page: <big>'''ANN - Artificial Neural Network for PHP 5.x'''</big> This chapter describes the steps to implement the ANN source code to your project. == Installation == * Unpack the source c...)
 
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<big>'''ANN - Artificial Neural Network for PHP 5.x'''</big>
== ANN - Artificial Neural Network for PHP ==


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.


== Requirements ==

The latest implementation requires a php environment running '''PHP 8.2''' or above.


== Installation ==
== Installation ==

* [[Download]] the source code

* Checking integrity

$ md5sum ann300*


* Unpack the source code
* Unpack the source code


tar -xzf ann200.tar.gz
$ tar -xzf ann300.tar.gz

* Copy the directory ANN to your library directory of your project.


* Including to your source
* Including to your source


<source lang="php">
<code>
<?php<br>
<?php

require_once ('ANN/ANN_Network.php');<br>
require_once 'ANN/Loader.php';
$ann = new ANN_Network;<br>

?><br>
use ANN\Network;
</code>

$objNetwork = new Network;
</source>

* Learn to use the library. Have a look to chapter [[Examples]].


* For further information e.g. about dat-files have a view to the [[FAQ]] page.
<div style="background-color: #eeeeee; font-familiy: Courier">Links flutender Blocksatz</div>

Latest revision as of 12:28, 4 October 2025

ANN - Artificial Neural Network for PHP

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

Requirements

The latest implementation requires a php environment running PHP 8.2 or above.

Installation

  • Checking integrity
$ md5sum ann300*
  • Unpack the source code
$ tar -xzf ann300.tar.gz
  • Copy the directory ANN to your library directory of your project.
  • Including to your source
<?php

require_once 'ANN/Loader.php';

use ANN\Network;

$objNetwork = new Network;
  • Learn to use the library. Have a look to chapter Examples.
  • For further information e.g. about dat-files have a view to the FAQ page.