qcnn
Class QPecep

java.lang.Object
  extended by qcnn.QPecep

public class QPecep
extends java.lang.Object


Constructor Summary
QPecep(int x, int y, int z)
           
 
Method Summary
 double dsigmoid(double entry)
           
 double Emid(int x, int y)
           
 double gauss(double entry)
           
 double getNRG()
           
 double[] In(double[] entry)
           
 void learn(double[] error)
          the learn method.
 double sigmoid(double entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QPecep

public QPecep(int x,
              int y,
              int z)
Parameters:
x - - the input width
y - - the output width
z - - hidden width
Method Detail

In

public double[] In(double[] entry)
Parameters:
entry -

sigmoid

public double sigmoid(double entry)
Parameters:
entry -
Returns:

dsigmoid

public double dsigmoid(double entry)
Parameters:
entry -
Returns:

gauss

public double gauss(double entry)
Parameters:
entry -
Returns:

learn

public void learn(double[] error)
the learn method. takes the error vector as input.

Parameters:
error -

Emid

public double Emid(int x,
                   int y)
Parameters:
x -
y -
Returns:

getNRG

public double getNRG()
Returns: