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

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

Class Declaration

Member Function Documentation

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
services::Status check ( const daal::algorithms::Input *  input,
const daal::algorithms::Parameter *  par,
int  method 
) const

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
services::Status check ( const daal::algorithms::Parameter *  par,
int  method 
) const

Checks a partial result of the linear regression algorithm

Parameters
[in]parParameter of the algorithm
[in]methodComputation method
Returns
Status of computations
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
size_t getNumberOfDependentVariables ( ) const

Returns the number of dependent variables

Returns
Number of dependent variables
size_t getNumberOfFeatures ( ) const

Returns the number of columns in the input data set

Returns
Number of columns in the input data set
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
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.