com.marmoush.jann.utils
Class NetworkUtils

java.lang.Object
  extended by com.marmoush.jann.utils.NetworkUtils

public class NetworkUtils
extends Object

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

NetworkUtils

public NetworkUtils()
Method Detail

bpff

public static void bpff(List<? extends Layer> net,
                        NeuralDirectedGraph ngraph)
Bpff.

Parameters:
net - the net
ngraph - the ngraph

getInputsConcatenatedForLayer

public static DoubleMatrix getInputsConcatenatedForLayer(int layerIdx,
                                                         List<? extends Layer> net,
                                                         NeuralDirectedGraph ngraph)
Gets the inputs concatenated for layer.

Parameters:
layerIdx - the layer idx
net - the net
ngraph - the ngraph
Returns:
the inputs concatenated for layer

setFill

public static void setFill(List<? extends Layer> net,
                           double value)
Sets the fill.

Parameters:
net - the net
value - the value

setFillLearnRate

public static void setFillLearnRate(List<? extends SvLayer> net,
                                    double lrnRate)
Sets the fill learn rate.

Parameters:
net - the net
lrnRate - the lrn rate

setFillRandom

public static void setFillRandom(List<? extends Layer> net)
Sets the fill random.

Parameters:
net - the new fill random

setFillRandomFloor

public static void setFillRandomFloor(List<? extends Layer> net)
Sets the fill random floor.

Parameters:
net - the new fill random floor

setFillRandomMinMax

public static void setFillRandomMinMax(List<? extends Layer> net,
                                       double min,
                                       double max)
Sets the fill random min max.

Parameters:
net - the net
min - the min
max - the max

setFillRandomMinMaxFloor

public static void setFillRandomMinMaxFloor(List<? extends Layer> net,
                                            int min,
                                            int max)
Sets the fill random min max floor.

Parameters:
net - the net
min - the min
max - the max

simulate

public static void simulate(List<? extends Layer> net,
                            NeuralDirectedGraph ngraph)
Simulate.

Parameters:
net - the net
ngraph - the ngraph

updateNetworkInput

public static void updateNetworkInput(List<? extends Layer> net,
                                      NeuralDirectedGraph ngraph)
Update network input.

Parameters:
net - the net
ngraph - the ngraph

updateNetworkNetsum

public static void updateNetworkNetsum(List<? extends Layer> net)
Update network netsum.

Parameters:
net - the net

updateNetworkOutput

public static void updateNetworkOutput(List<? extends Layer> net)
Update network output.

Parameters:
net - the net


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