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

List of all members
PredictionBatch Class Reference

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

Class Constructor

◆ PredictionBatch() [1/2]

PredictionBatch ( DaalContext  context,
PredictionBatch  other 
)

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

Parameters
contextContext to manage ridge 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 ridge regression prediction algorithm in the batch processing mode

Parameters
contextContext to manage ridge regression model-based prediction
clsData type to use in intermediate computations of ridge 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 ridge regression prediction algorithm with a copy of the input objects of this ridge regression prediction algorithm in the batch processing mode

Parameters
contextContext to manage ridge regression model-based prediction
Returns
Newly allocated algorithm

◆ compute()

PredictionResult compute ( )

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

Returns
Result of ridge regression model-based prediction

◆ setResult()

void setResult ( PredictionResult  result)

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

Parameters
resultObject to store the result of ridge 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.