|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.marmoush.jann.Layer
com.marmoush.jann.sv.SvLayer
public class SvLayer
The Class SvLayer.
Constructor Summary | |
---|---|
SvLayer()
Instantiates a new sv layer. |
|
SvLayer(int nInputs,
int nNeurons,
boolean biased)
Instantiates a new sv layer. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Equals. |
DoubleMatrix |
getError()
Gets the error. |
double |
getLearnRate()
Gets the learn rate. |
double |
getPerformance()
Gets the performance. |
IPerformance |
getPerformancefnctr()
Gets the performancefnctr. |
DoubleMatrix |
getTarget()
Gets the target. |
int |
hashCode()
Hash code. |
void |
setError(DoubleMatrix error)
Sets the error. |
void |
setLearnRate(double lrnRate)
Sets the learn rate. |
void |
setPerformance(double performance)
Sets the performance. |
void |
setPerformancefnctr(IPerformance performancefnctr)
Sets the performancefnctr. |
void |
setTarget(DoubleMatrix target)
Sets the target. |
void |
simulate()
Simulate. |
String |
toString()
To string. |
DoubleMatrix |
updateError()
Update error. |
double |
updatePerformance()
Update performance. |
Methods inherited from class com.marmoush.jann.Layer |
---|
getBias, getInput, getNetSum, getOutput, getTheta, getTransfereFnctr, getWeight, getWeightFnctr, isBiased, isInputOnlyLayer, setBias, setBiased, setFill, setFillRandom, setFillRandomFloor, setFillRandomMinMax, setFillRandomMinMaxFloor, setInput, setInputOnlyLayer, setNetSum, setOutput, setTheta, setTransfereFnctr, setWeight, setWeightFnctr, updateNetSum, updateOutput |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SvLayer()
public SvLayer(int nInputs, int nNeurons, boolean biased)
nInputs
- the n inputsnNeurons
- the n neuronsMethod Detail |
---|
public boolean equals(Object obj)
ILayer
equals
in interface ILayer
equals
in class Layer
obj
- the obj
public DoubleMatrix getError()
public double getLearnRate()
public double getPerformance()
public IPerformance getPerformancefnctr()
public DoubleMatrix getTarget()
public int hashCode()
ILayer
hashCode
in interface ILayer
hashCode
in class Layer
public void setError(DoubleMatrix error)
error
- the new errorpublic void setLearnRate(double lrnRate)
lrnRate
- the new learn ratepublic void setPerformance(double performance)
performance
- the new performancepublic void setPerformancefnctr(IPerformance performancefnctr)
performancefnctr
- the new performancefnctrpublic void setTarget(DoubleMatrix target)
target
- the new targetpublic void simulate()
ILayer
simulate
in interface ILayer
simulate
in class Layer
public String toString()
ILayer
toString
in interface ILayer
toString
in class Layer
public DoubleMatrix updateError()
public double updatePerformance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |