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

List of all members
PredictionBatch Class Reference

Provides methods for linear regression model-based prediction. More...

Class Constructor

PredictionBatch ( DaalContext  context,
PredictionBatch  other 
)

Constructs a linear regression prediction algorithm by copying input objects and parameters of another linear regression prediction algorithm

Parameters
contextContext to manage linear regression model-based prediction
otherAlgorithm to use as the source to initialize the input objects and parameters of the algorithm
PredictionBatch ( DaalContext  context,
Class<?extends Number >  cls,
PredictionMethod  method 
)

Constructs the linear regression prediction algorithm in the batch processing mode

Parameters
contextContext to manage linear regression model-based prediction
clsData type to use in intermediate computations of linear regression, Double.class or Float.class
methodAlgorithm prediction method, PredictionMethod

Detailed Description

References

Member Function Documentation

PredictionBatch clone ( DaalContext  context)

Returns a newly allocated linear regression prediction algorithm with a copy of the input objects of this linear regression prediction algorithm in the batch processing mode

Parameters
contextContext to manage linear regression model-based prediction
Returns
Newly allocated algorithm
PredictionResult compute ( )

Computes the result of linear regression model-based prediction in the batch processing mode

Returns
Result of linear regression model-based prediction
void setResult ( PredictionResult  result)

Registers user-allocated memory to store the result of linear regression model-based prediction

Parameters
resultObject to store the result of linear regression model-based prediction

Member Data Documentation

Input input

Input data

Prediction method for the algorithm


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

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