C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members
Result Class Reference

Provides methods to access the result obtained with the compute() method of linear regression model-based training. More...

Class Declaration

Member Function Documentation

DAAL_EXPORT services::Status allocate ( const daal::algorithms::Input *  input,
const Parameter *  parameter,
const int  method 
)

Allocates memory to store the result of linear regression model-based training

Parameters
[in]inputPointer to an object containing the input data
[in]methodComputation method for the algorithm
[in]parameterParameter of linear regression model-based training
Returns
Status of computations
DAAL_EXPORT services::Status allocate ( const daal::algorithms::PartialResult *  partialResult,
const Parameter *  parameter,
const int  method 
)

Allocates memory to store the result of linear regression model-based training

Parameters
[in]partialResultPointer to an object containing the input data
[in]methodComputation method of the algorithm
[in]parameterParameter of linear regression model-based training
Returns
Status of computations
services::Status check ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  par,
int  method 
) const

Checks the result of linear regression model-based training

Parameters
[in]inputInput object for the algorithm
[in]parParameter of the algorithm
[in]methodComputation method
Returns
Status of computations
services::Status check ( const daal::algorithms::PartialResult *  pr,
const daal::algorithms::Parameter *  par,
int  method 
) const

Checks the result of the linear regression model-based training

Parameters
[in]prPartialResult of the algorithm
[in]parParameter of the algorithm
[in]methodComputation method
Returns
Status of computations
linear_regression::ModelPtr get ( ResultId  id) const

Returns the result of linear regression model-based training

Parameters
[in]idIdentifier of the result
Returns
Result that corresponds to the given identifier
void set ( ResultId  id,
const linear_regression::ModelPtr &  value 
)

Sets the result of linear regression model-based training

Parameters
[in]idIdentifier of the result
[in]valueResult

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

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