public class FeedForwardNetworkFactory extends Object implements NetworkFactory<FeedForwardNetwork>
FeedForwardNetwork
Constructor and Description |
---|
FeedForwardNetworkFactory() |
Modifier and Type | Method and Description |
---|---|
FeedForwardNetwork |
createNeuralNetwork(Properties params)
Creates and returns a neural network of specified type
|
void |
setHiddenActivation(ActivationType hiddenActivation) |
void |
setLossType(LossType lossType) |
void |
setNumInputs(int numInputs) |
void |
setNumOutputs(int numOutputs) |
public FeedForwardNetwork createNeuralNetwork(Properties params)
NetworkFactory
createNeuralNetwork
in interface NetworkFactory<FeedForwardNetwork>
params
- properties of a neural network to createpublic void setNumInputs(int numInputs)
public void setNumOutputs(int numOutputs)
public void setLossType(LossType lossType)
public void setHiddenActivation(ActivationType hiddenActivation)
Copyright © 2022. All rights reserved.