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

Static Public Member Functions | List of all members
PartialModel Class Reference

Partial model trained by the implicit ALS training algorithm in the distributed processing mode. More...

Static Public Member Functions

template<typename modelFPType >
static DAAL_EXPORT
services::SharedPtr
< PartialModel
create (const Parameter &parameter, size_t size, services::Status *stat=NULL)
 
template<typename modelFPType >
static DAAL_EXPORT
services::SharedPtr
< PartialModel
create (const Parameter &parameter, size_t offset, const data_management::NumericTablePtr &indices, services::Status *stat=NULL)
 
static services::SharedPtr
< PartialModel
create (const data_management::NumericTablePtr &factors, const data_management::NumericTablePtr &indices, services::Status *stat=NULL)
 

Class Declaration

References

Constructor & Destructor Documentation

DAAL_EXPORT PartialModel ( const Parameter parameter,
size_t  size,
modelFPType  dummy 
)

Constructs a partial implicit ALS model of a specified size

Parameters
[in]parameterImplicit ALS parameters
[in]sizeModel size
[in]dummyDummy variable for the templated constructor
Deprecated:
This item will be removed in a future release. Use Model::create instead.
DAAL_EXPORT PartialModel ( const Parameter parameter,
size_t  offset,
data_management::NumericTablePtr  indices,
modelFPType  dummy 
)

Constructs a partial implicit ALS model from the indices of factors

Parameters
[in]parameterImplicit ALS parameters
[in]offsetIndex of the first factor in the partial model
[in]indicesPointer to the numeric table with the indices of factors
[in]dummyDummy variable for the templated constructor
Deprecated:
This item will be removed in a future release. Use Model::create instead.
PartialModel ( data_management::NumericTablePtr  factors,
data_management::NumericTablePtr  indices 
)

Constructs a partial implicit ALS model from the indices and factors stored in the numeric tables

Parameters
[in]factorsPointer to the numeric table with factors stored in row-major order
[in]indicesPointer to the numeric table with the indices of factors
Deprecated:
This item will be removed in a future release. Use Model::create instead.

Empty constructor for deserialization

Deprecated:
This item will be removed in a future release. Use Model::create instead.

Member Function Documentation

static DAAL_EXPORT services::SharedPtr<PartialModel> create ( const Parameter parameter,
size_t  size,
services::Status *  stat = NULL 
)
static

Constructs a partial implicit ALS model of a specified size

Parameters
[in]parameterImplicit ALS parameters
[in]sizeModel size
[out]statStatus of the model construction
Returns
Partial implicit ALS model of a specified size
static DAAL_EXPORT services::SharedPtr<PartialModel> create ( const Parameter parameter,
size_t  offset,
const data_management::NumericTablePtr &  indices,
services::Status *  stat = NULL 
)
static

Constructs a partial implicit ALS model from the indices of factors

Parameters
[in]parameterImplicit ALS parameters
[in]offsetIndex of the first factor in the partial model
[in]indicesPointer to the numeric table with the indices of factors
[out]statStatus of the model construction
Returns
Partial implicit ALS model with the specified indices and factors
static services::SharedPtr<PartialModel> create ( const data_management::NumericTablePtr &  factors,
const data_management::NumericTablePtr &  indices,
services::Status *  stat = NULL 
)
static

Constructs a partial implicit ALS model from the indices and factors stored in the numeric tables

Parameters
[in]factorsPointer to the numeric table with factors stored in row-major order
[in]indicesPointer to the numeric table with the indices of factors
[out]statStatus of the model construction
Returns
Partial implicit ALS model with the specified indices and factors
data_management::NumericTablePtr getFactors ( ) const
inline

Returns pointer to the numeric table with factors stored in row-major order

Returns
Pointer to the numeric table with factors stored in row-major order
data_management::NumericTablePtr getIndices ( ) const
inline

Returns the pointer to the numeric table with the indices of factors

Returns
Pointer to the numeric table with the indices of factors

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

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