Java* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 1

List of all members
PredictionModel Class Reference

Class Model object for the prediction stage of neural network algorithm. More...

Class Constructor

Constructs model for the prediction stage of the neural network

Parameters
contextContext to manage the model
PredictionModel ( DaalContext  context,
PredictionModel  other 
)

Constructs model for the prediction stage of the neural network by copying parameters of another model

Parameters
contextContext to manage the model
otherA model to be used as the source to initialize the parameters of the model
PredictionModel ( DaalContext  context,
ForwardLayers  forwardLayers,
NextLayersCollection  nextLayersCollection 
)

Constructs model for the prediction stage of the neural network using collections of forward stage of layers and connections between layers

Parameters
contextContext to manage the model
forwardLayersList of forward stages of the layers
nextLayersCollectionList of next layers for each layer
PredictionModel ( DaalContext  context,
PredictionTopology  topology 
)

Constructs model for the prediction stage of the neural network from the layer descriptors

Parameters
contextContext to manage the model
topologyCollection of layer descriptors of every inserted layer

Detailed Description

Member Function Documentation

void allocate ( Class<?extends Number >  cls,
long[]  dataSize,
PredictionParameter  parameter 
)

Allocates the model for prediction stage of neural network

Parameters
clsData type to use in intermediate computations for the neural network, Double.class or Float.class
dataSizeDimensionality of the prediction data
parameterParameters of the prediction
void allocate ( Class<?extends Number >  cls,
long[]  dataSize 
)

Allocates the model for prediction stage of neural network using default parameters

Parameters
clsData type to use in intermediate computations for the neural network, Double.class or Float.class
dataSizeDimensionality of the prediction data
ForwardLayer getLayer ( long  index)

Returns the forward stage of a layer with certain index in the network

Parameters
indexIndex of the layer in the network
Returns
Forward stage of a layer with certain index in the network
ForwardLayers getLayers ( )

Returns list of forward layers

Returns
List of forward layers
NextLayersCollection getNextLayers ( )

Returns list of connections between layers

Returns
List of next layers for each layer with corresponding index
void setLayers ( ForwardLayers  forwardLayers,
NextLayersCollection  nextLayersCollection 
)

Sets the list of forward layers and the list of connections between layers

Parameters
forwardLayersList of forward layers
nextLayersCollectionList of next layers for each layer with corresponding index

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.