Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5

List of all members
PredictionBatch Class Reference

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

Class Constructor

PredictionBatch ( DaalContext  context,
PredictionBatch  other 
)

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

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

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

Detailed Description

References

Member Function Documentation

PredictionBatch clone ( DaalContext  context)

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

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

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

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

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

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