com.marmoush.jann
Interface ILayer

All Superinterfaces:
IFillableLayer
All Known Implementing Classes:
Layer, LinearRegression, SvLayer

public interface ILayer
extends IFillableLayer

The Interface ILayer.


Method Summary
 boolean equals(Object obj)
          Equals.
 DoubleMatrix getBias()
          Gets the bias.
 DoubleMatrix getInput()
          Gets the input.
 DoubleMatrix getNetSum()
          Gets the net sum.
 DoubleMatrix getOutput()
          Gets the output.
 double getTheta()
          Gets the theta.
 ITransfere getTransfereFnctr()
          Gets the transfere fnctr.
 DoubleMatrix getWeight()
          Gets the weight.
 IWeight getWeightFnctr()
          Gets the weight fnctr.
 int hashCode()
          Hash code.
 boolean isBiased()
           
 boolean isInputOnlyLayer()
          Checks if is input only layer.
 void setBias(DoubleMatrix bias)
          Sets the bias.
 void setFill(double value, DoubleMatrix... matrices)
          Sets the fill.
 void setFillRandom(DoubleMatrix... matrices)
          Sets the fill random.
 void setInput(DoubleMatrix input)
          Sets the input.
 void setNetSum(DoubleMatrix netsum)
          Sets the net sum.
 void setOutput(DoubleMatrix output)
          Sets the output.
 void setTheta(double theta)
          Sets the theta.
 void setTransfereFnctr(ITransfere transfereFnctr)
          Sets the transfere fnctr.
 void setWeight(DoubleMatrix weight)
          Sets the weight.
 void setWeightFnctr(IWeight weightFnctr)
          Sets the weight fnctr.
 void simulate()
          Simulate.
 String toString()
          To string.
 DoubleMatrix updateNetSum()
          Update net sum.
 DoubleMatrix updateOutput()
          Update output.
 
Methods inherited from interface com.marmoush.jann.IFillableLayer
setFillRandomFloor, setFillRandomMinMax, setFillRandomMinMaxFloor
 

Method Detail

equals

boolean equals(Object obj)
Equals.

Overrides:
equals in class Object
Parameters:
obj - the obj
Returns:
true, if successful

getBias

DoubleMatrix getBias()
Gets the bias.

Returns:
the bias

getInput

DoubleMatrix getInput()
Gets the input.

Returns:
the input

getNetSum

DoubleMatrix getNetSum()
Gets the net sum.

Returns:
the net sum

getOutput

DoubleMatrix getOutput()
Gets the output.

Returns:
the output

getTheta

double getTheta()
Gets the theta.

Returns:
the theta

getTransfereFnctr

ITransfere getTransfereFnctr()
Gets the transfere fnctr.

Returns:
the transfere fnctr

getWeight

DoubleMatrix getWeight()
Gets the weight.

Returns:
the weight

getWeightFnctr

IWeight getWeightFnctr()
Gets the weight fnctr.

Returns:
the weight fnctr

hashCode

int hashCode()
Hash code.

Overrides:
hashCode in class Object
Returns:
the int

isBiased

boolean isBiased()

isInputOnlyLayer

boolean isInputOnlyLayer()
Checks if is input only layer.

Returns:
true, if is input only layer

setBias

void setBias(DoubleMatrix bias)
Sets the bias.

Parameters:
bias - the new bias

setFill

void setFill(double value,
             DoubleMatrix... matrices)
Description copied from interface: IFillableLayer
Sets the fill.

Specified by:
setFill in interface IFillableLayer
Parameters:
value - the value
matrices - the matrices

setFillRandom

void setFillRandom(DoubleMatrix... matrices)
Description copied from interface: IFillableLayer
Sets the fill random.

Specified by:
setFillRandom in interface IFillableLayer
Parameters:
matrices - the new fill random

setInput

void setInput(DoubleMatrix input)
Sets the input.

Parameters:
input - the new input

setNetSum

void setNetSum(DoubleMatrix netsum)
Sets the net sum.

Parameters:
netsum - the new net sum

setOutput

void setOutput(DoubleMatrix output)
Sets the output.

Parameters:
output - the new output

setTheta

void setTheta(double theta)
Sets the theta.

Parameters:
theta - the new theta

setTransfereFnctr

void setTransfereFnctr(ITransfere transfereFnctr)
Sets the transfere fnctr.

Parameters:
transfereFnctr - the new transfere fnctr

setWeight

void setWeight(DoubleMatrix weight)
Sets the weight.

Parameters:
weight - the new weight

setWeightFnctr

void setWeightFnctr(IWeight weightFnctr)
Sets the weight fnctr.

Parameters:
weightFnctr - the new weight fnctr

simulate

void simulate()
Simulate.


toString

String toString()
To string.

Overrides:
toString in class Object
Returns:
the string

updateNetSum

DoubleMatrix updateNetSum()
Update net sum.

Returns:
the double matrix

updateOutput

DoubleMatrix updateOutput()
Update output.

Returns:
the double matrix


Copyright © 2011-2012 Marmoush.com. All Rights Reserved.