Package me.damoebe.architectures.mlp
Class DeepNetwork
java.lang.Object
me.damoebe.architectures.Network
me.damoebe.architectures.mlp.FFNetwork
me.damoebe.architectures.mlp.DeepNetwork
-
Field Summary
Fields inherited from class me.damoebe.architectures.mlp.FFNetwork
currentLoss, layers, learningRate, noise -
Constructor Summary
ConstructorsConstructorDescriptionDeepNetwork(int inputSize, int outputSize, int hiddenLayerSize, int hiddenLayerAmount, double leaningRate) Main constructor for DeepNetwork calling the super constructor -
Method Summary
Methods inherited from class me.damoebe.architectures.mlp.FFNetwork
generateLayer, getHiddenLayerAmount, getHiddenLayerSize, getInputSize, getLayers, getOutput, getOutputSize, insertInput, setNoise, updateAllActivations, updateLossMethods inherited from class me.damoebe.architectures.Network
loadNetworkFromJson, loadToJsonFile
-
Constructor Details
-
DeepNetwork
public DeepNetwork(int inputSize, int outputSize, int hiddenLayerSize, int hiddenLayerAmount, double leaningRate) Main constructor for DeepNetwork calling the super constructor- Parameters:
inputSize- The size of the first layeroutputSize- The size of the last layerhiddenLayerSize- The size of the hiddenlayershiddenLayerAmount- The amount of hiddenlayers that should be generatedleaningRate- The learningRate that should be used for this DeepNetwork
-
-
Method Details
-
train
-
getNetworkLoss
public double getNetworkLoss()Gets the network loss- Specified by:
getNetworkLossin classFFNetwork- Returns:
- The network loss
-
clone
-