org.neuroph.util
Class LayerFactory
- java.lang.Object
-
- org.neuroph.util.LayerFactory
-
public class LayerFactory extends java.lang.ObjectProvides methods to create instance of a Layer with various setting (number of neurons and neuron's properties, etc.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static LayercreateLayer(int neuronsCount, java.lang.Class<? extends TransferFunction> transferFunctionClass)static LayercreateLayer(int neuronsCount, NeuronProperties neuronProperties)Creates and returns instance of Layer with specified number of neurons with specified propertiesstatic LayercreateLayer(int neuronsCount, TransferFunctionType transferFunctionType)static LayercreateLayer(java.util.List<NeuronProperties> neuronPropertiesVector)
-
-
-
Method Detail
-
createLayer
public static Layer createLayer(int neuronsCount, NeuronProperties neuronProperties)
Creates and returns instance of Layer with specified number of neurons with specified properties- Parameters:
neuronsCount-neuronProperties-- Returns:
-
createLayer
public static Layer createLayer(int neuronsCount, TransferFunctionType transferFunctionType)
-
createLayer
public static Layer createLayer(int neuronsCount, java.lang.Class<? extends TransferFunction> transferFunctionClass)
-
createLayer
public static Layer createLayer(java.util.List<NeuronProperties> neuronPropertiesVector)
-
-
DMelt 3.0 © DataMelt by jWork.ORG