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 typevoidsetHiddenActivation(ActivationType hiddenActivation) voidsetLossType(LossType lossType) voidsetNumInputs(int numInputs) voidsetNumOutputs(int numOutputs) voidsetOutputActivation(ActivationType outputActivation)
-
Constructor Details
-
FeedForwardNetworkFactory
public FeedForwardNetworkFactory()
-
-
Method Details
-
createNeuralNetwork
Description copied from interface:NetworkFactoryCreates and returns a neural network of specified type- Specified by:
createNeuralNetworkin 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
-