C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

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...

Additional Inherited Members

- Static Protected Member Functions inherited from Argument
static data_management::DataCollectionPtr & getStorage (Argument &a)
 
static const data_management::DataCollectionPtr & getStorage (const Argument &a)
 

Class Declaration

Member Function Documentation

◆ allocate() [1/2]

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

◆ allocate() [2/2]

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

◆ check() [1/2]

services::Status check ( const daal::algorithms::Input input,
const daal::algorithms::Parameter par,
int  method 
) const
virtual

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

Reimplemented from Result.

◆ check() [2/2]

services::Status check ( const daal::algorithms::PartialResult pr,
const daal::algorithms::Parameter par,
int  method 
) const
virtual

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

Reimplemented from Result.

◆ get()

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

◆ set()

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.