Class ANN_Values

Description
  • since: 2.0.6
  • access: public

Located in /ANN_Values.php (line 50)

ANN_Filesystem
   |
   --ANN_Values
Method Summary
[180]   public   array :  getInputsArray ()
[196]   public   array :  getOutputsArray ()
[95]   public   ANN_Values :  input ()
[135]   public   ANN_Values :  output ()
[230]   public   ANN_Values :  reset ()
[162]   public   ANN_Values :  train ()
[203]   public   void :  __wakeup ()
Methods
public  array getInputsArray () [180]

Get internal saved input array

{$source} Actually there is no reason to call this method in your application. This method is used by ANN_Network only.

public  array getOutputsArray () [196]

Get internal saved output array

{$source} Actually there is no reason to call this method in your application. This method is used by ANN_Network only.

public  ANN_Values input () [95]

Input values

{$source} List all input values comma separated

  1.  $objValues new ANN_Values;
  2.  
  3.  $objValues->train()
  4.            ->input(0.120.110.15)
  5.            ->output(0.56);

  1.  $objValues new ANN_Values;
  2.  
  3.  $objValues->input(0.120.110.15)
  4.            ->input(0.130.120.16)
  5.            ->input(0.140.130.17);

  • throws: ANN_Exception
  • access: public
  • uses: ANN_Exception::__construct()
public  ANN_Values output () [135]

Output values

{$source} List all output values comma separated. Before you can call this method you have to call input(). After calling output() you cannot call the same method again. You have to call input() again first.

  1.  $objValues new ANN_Values;
  2.  
  3.  $objValues->train()
  4.            ->input(0.120.110.15)
  5.            ->output(0.56);

  • throws: ANN_Exception
  • access: public
  • uses: ANN_Exception::__construct()
public  ANN_Values reset () [230]

Reset saved input and output values

{$source} All internal saved input and output values will be deleted after calling reset(). If train() was called before, train state does not change by calling reset().

  1.  $objValues new ANN_Values;
  2.  
  3.  $objValues->train()
  4.            ->input(0.120.110.15)
  5.            ->output(0.56)
  6.            ->reset()
  7.            ->input(0.120.110.15)
  8.            ->output(0.56);

  • access: public
public  ANN_Values train () [162]

{$source}

  • access: public
public  void __wakeup () [203]

{$source}

  • access: public

Inherited Methods

Inherited From ANN_Filesystem

ANN_Filesystem::loadFromFile()
ANN_Filesystem::saveToFile()

Documentation generated on Thu, 18 Dec 2008 18:37:36 +0100 by phpDocumentor 1.4.1