Class Model object for the prediction stage of neural network algorithm.
More...
◆ PredictionModel() [1/4]
Constructs model for the prediction stage of the neural network
- Parameters
-
context | Context to manage the model |
◆ PredictionModel() [2/4]
Constructs model for the prediction stage of the neural network by copying parameters of another model
- Parameters
-
context | Context to manage the model |
other | A model to be used as the source to initialize the parameters of the model |
◆ PredictionModel() [3/4]
Constructs model for the prediction stage of the neural network using collections of forward stage of layers and connections between layers
- Parameters
-
context | Context to manage the model |
forwardLayers | List of forward stages of the layers |
nextLayersCollection | List of next layers for each layer |
◆ PredictionModel() [4/4]
Constructs model for the prediction stage of the neural network from the layer descriptors
- Parameters
-
context | Context to manage the model |
topology | Collection of layer descriptors of every inserted layer |
◆ allocate() [1/2]
void allocate |
( |
Class<? extends Number > |
cls, |
|
|
long [] |
dataSize, |
|
|
PredictionParameter |
parameter |
|
) |
| |
Allocates the model for prediction stage of neural network
- Parameters
-
cls | Data type to use in intermediate computations for the neural network, Double.class or Float.class |
dataSize | Dimensionality of the prediction data |
parameter | Parameters of the prediction |
◆ allocate() [2/2]
void allocate |
( |
Class<? extends Number > |
cls, |
|
|
long [] |
dataSize |
|
) |
| |
Allocates the model for prediction stage of neural network using default parameters
- Parameters
-
cls | Data type to use in intermediate computations for the neural network, Double.class or Float.class |
dataSize | Dimensionality of the prediction data |
◆ getLayer()
Returns the forward stage of a layer with certain index in the network
- Parameters
-
index | Index of the layer in the network |
- Returns
- Forward stage of a layer with certain index in the network
◆ getLayers()
Returns list of forward layers
- Returns
- List of forward layers
◆ getNextLayers()
Returns list of connections between layers
- Returns
- List of next layers for each layer with corresponding index
◆ setLayers()
Sets the list of forward layers and the list of connections between layers
- Parameters
-
forwardLayers | List of forward layers |
nextLayersCollection | List of next layers for each layer with corresponding index |
The documentation for this class was generated from the following file: