public class Neuron extends Object
Constructor and Description |
---|
Neuron(NetFunction g,
Random r) |
Modifier and Type | Method and Description |
---|---|
void |
addToBackProp(double output_error)
Thanks to Paras Chopra (www.paraschopra.com) for providing sample
code that I was able to use to get a handle on the back propogation
|
void |
doAccumulatedBackProp(double alpha)
Thanks to Paras Chopra (www.paraschopra.com) for providing sample
code that I was able to use to get a handle on the back propogation
|
double |
getSum(long state_serial)
Get the output of the sumation of all the inputs*weights before the
translation function is run.
|
double |
getValue(long state_serial)
Get the output value
|
void |
setSources(cc.glsn.v15.neuralnet.NetworkSource[] srcs) |
String |
toString() |
public Neuron(NetFunction g, Random r)
public double getValue(long state_serial)
state_serial
- public double getSum(long state_serial)
state_serial
- public void setSources(cc.glsn.v15.neuralnet.NetworkSource[] srcs)
public void addToBackProp(double output_error)
public void doAccumulatedBackProp(double alpha)