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

List of all members

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

Class Constructor

PredictionBatch ( DaalContext  context,
PredictionBatch  other 
)

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

Parameters
contextContext to manage logistic 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,
long  nClasses 
)

Constructs the logistic regression prediction algorithm in the batch processing mode

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

Detailed Description

References

Member Function Documentation

PredictionBatch clone ( DaalContext  context)

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

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

Computes prediction results based on the model of the logistic regression algorithm

Returns
Prediction results
void setResult ( PredictionResult  result)

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

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

Member Data Documentation

Input data

Prediction method for the algorithm

Parameters of the algorithm


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

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