|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.marmoush.jann.utils.NetworkUtils
public class NetworkUtils
The Class NetworkUtils.
Constructor Summary | |
---|---|
NetworkUtils()
|
Method Summary | |
---|---|
static void |
bpff(List<? extends Layer> net,
NeuralDirectedGraph ngraph)
Bpff. |
static DoubleMatrix |
getInputsConcatenatedForLayer(int layerIdx,
List<? extends Layer> net,
NeuralDirectedGraph ngraph)
Gets the inputs concatenated for layer. |
static void |
setFill(List<? extends Layer> net,
double value)
Sets the fill. |
static void |
setFillLearnRate(List<? extends SvLayer> net,
double lrnRate)
Sets the fill learn rate. |
static void |
setFillRandom(List<? extends Layer> net)
Sets the fill random. |
static void |
setFillRandomFloor(List<? extends Layer> net)
Sets the fill random floor. |
static void |
setFillRandomMinMax(List<? extends Layer> net,
double min,
double max)
Sets the fill random min max. |
static void |
setFillRandomMinMaxFloor(List<? extends Layer> net,
int min,
int max)
Sets the fill random min max floor. |
static void |
simulate(List<? extends Layer> net,
NeuralDirectedGraph ngraph)
Simulate. |
static void |
updateNetworkInput(List<? extends Layer> net,
NeuralDirectedGraph ngraph)
Update network input. |
static void |
updateNetworkNetsum(List<? extends Layer> net)
Update network netsum. |
static void |
updateNetworkOutput(List<? extends Layer> net)
Update network output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkUtils()
Method Detail |
---|
public static void bpff(List<? extends Layer> net, NeuralDirectedGraph ngraph)
net
- the netngraph
- the ngraphpublic static DoubleMatrix getInputsConcatenatedForLayer(int layerIdx, List<? extends Layer> net, NeuralDirectedGraph ngraph)
layerIdx
- the layer idxnet
- the netngraph
- the ngraph
public static void setFill(List<? extends Layer> net, double value)
net
- the netvalue
- the valuepublic static void setFillLearnRate(List<? extends SvLayer> net, double lrnRate)
net
- the netlrnRate
- the lrn ratepublic static void setFillRandom(List<? extends Layer> net)
net
- the new fill randompublic static void setFillRandomFloor(List<? extends Layer> net)
net
- the new fill random floorpublic static void setFillRandomMinMax(List<? extends Layer> net, double min, double max)
net
- the netmin
- the minmax
- the maxpublic static void setFillRandomMinMaxFloor(List<? extends Layer> net, int min, int max)
net
- the netmin
- the minmax
- the maxpublic static void simulate(List<? extends Layer> net, NeuralDirectedGraph ngraph)
net
- the netngraph
- the ngraphpublic static void updateNetworkInput(List<? extends Layer> net, NeuralDirectedGraph ngraph)
net
- the netngraph
- the ngraphpublic static void updateNetworkNetsum(List<? extends Layer> net)
net
- the netpublic static void updateNetworkOutput(List<? extends Layer> net)
net
- the net
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |