Package deepnetts.automl
Class FeedForwardNetworkFactory
java.lang.Object
deepnetts.automl.FeedForwardNetworkFactory
- All Implemented Interfaces:
NetworkFactory<FeedForwardNetwork>
Factory for FeedForwardNetwork.
Creates a FeedForward neural network with specified settings.
It is used by AutoML to create various network architectures.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNeuralNetwork
(Properties params) Creates and returns a neural network of specified typevoid
setHiddenActivation
(ActivationType hiddenActivation) void
setLossType
(LossType lossType) void
setNumInputs
(int numInputs) void
setNumOutputs
(int numOutputs) void
setOutputActivation
(ActivationType outputActivation)
-
Constructor Details
-
FeedForwardNetworkFactory
public FeedForwardNetworkFactory()
-
-
Method Details
-
createNeuralNetwork
Description copied from interface:NetworkFactory
Creates and returns a neural network of specified type- Specified by:
createNeuralNetwork
in interfaceNetworkFactory<FeedForwardNetwork>
- Parameters:
params
- properties of a neural network to create- Returns:
- neural network of specified type
-
setNumInputs
public void setNumInputs(int numInputs) -
setNumOutputs
public void setNumOutputs(int numOutputs) -
setLossType
-
setHiddenActivation
-
setOutputActivation
-