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

List of all members
PartialResult Class Reference

Provides methods to access a partial result obtained with the compute() method of linear regression model-based training in the online or distributed processing mode. 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()

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

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

Parameters
[in]inputInput object for the algorithm
[in]methodMethod of linear regression model-based training
[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 a partial result of the linear regression algorithm

Parameters
[in]inputInput object for the algorithm
[in]parParameter of the algorithm
[in]methodComputation method
Returns
Status of computations

Reimplemented from PartialResult.

◆ check() [2/2]

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

Checks a partial result of the linear regression algorithm

Parameters
[in]parParameter of the algorithm
[in]methodComputation method
Returns
Status of computations

Reimplemented from PartialResult.

◆ get()

daal::algorithms::linear_regression::ModelPtr get ( PartialResultID  id) const

Returns a partial result of linear regression model-based training

Parameters
[in]idIdentifier of the partial result
Returns
Partial result that corresponds to the given identifier

◆ getNumberOfDependentVariables()

size_t getNumberOfDependentVariables ( ) const

Returns the number of dependent variables

Returns
Number of dependent variables

◆ getNumberOfFeatures()

size_t getNumberOfFeatures ( ) const

Returns the number of columns in the input data set

Returns
Number of columns in the input data set

◆ initialize()

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

Initializes memory to store a partial result of linear regression model-based training

Parameters
[in]inputInput object for the algorithm
[in]methodMethod of linear regression model-based training
[in]parameterParameter of linear regression model-based training
Returns
Status of initialization

◆ set()

void set ( PartialResultID  id,
const daal::algorithms::linear_regression::ModelPtr &  value 
)

Sets an argument of the partial result

Parameters
[in]idIdentifier of the argument
[in]valuePointer to the argument

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

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