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

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

Model trained by the implicit ALS algorithm in the batch processing mode. More...

Static Public Member Functions

template<typename modelFPType >
static DAAL_EXPORT
services::SharedPtr< Model
create (size_t nUsers, size_t nItems, const Parameter &parameter, services::Status *stat=NULL)
 

Class Declaration

References

Constructor & Destructor Documentation

DAAL_EXPORT Model ( size_t  nUsers,
size_t  nItems,
const Parameter parameter,
modelFPType  dummy 
)

Constructs the implicit ALS model

Parameters
[in]nUsersNumber of users in the input data set
[in]nItemsNumber of items in the input data set
[in]parameterImplicit ALS parameters
[in]dummyDummy variable for the templated constructor
Deprecated:
This item will be removed in a future release. Use Model::create instead.
Model ( )

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<Model> create ( size_t  nUsers,
size_t  nItems,
const Parameter parameter,
services::Status *  stat = NULL 
)
static

Constructs the implicit ALS model

Parameters
[in]nUsersNumber of users in the input data set
[in]nItemsNumber of items in the input data set
[in]parameterImplicit ALS parameters
[out]statStatus of the model construction
data_management::NumericTablePtr getItemsFactors ( ) const
inline

Returns a pointer to the numeric table of items factors constructed during the training of the implicit ALS model

Returns
Numeric table of items factors
data_management::NumericTablePtr getUsersFactors ( ) const
inline

Returns a pointer to the numeric table of users factors constructed during the training of the implicit ALS model

Returns
Numeric table of users factors

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

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