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

List of all members
PredictionBatch Class Reference

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

Class Constructor

◆ PredictionBatch() [1/2]

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() [2/2]

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

◆ clone()

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

◆ compute()

PredictionResult compute ( )

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

Returns
Result of linear regression model-based prediction

◆ setResult()

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

Input data

◆ method

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.