Model trained by the implicit ALS algorithm in the batch processing mode.
More...
|
| template<typename modelFPType > |
static DAAL_EXPORT
services::SharedPtr< Model > | create (size_t nUsers, size_t nItems, const Parameter ¶meter, services::Status *stat=NULL) |
| |
| DAAL_EXPORT Model |
( |
size_t |
nUsers, |
|
|
size_t |
nItems, |
|
|
const Parameter & |
parameter, |
|
|
modelFPType |
dummy |
|
) |
| |
Constructs the implicit ALS model
- Parameters
-
| [in] | nUsers | Number of users in the input data set |
| [in] | nItems | Number of items in the input data set |
| [in] | parameter | Implicit ALS parameters |
| [in] | dummy | Dummy variable for the templated constructor |
- 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.
| 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] | nUsers | Number of users in the input data set |
| [in] | nItems | Number of items in the input data set |
| [in] | parameter | Implicit ALS parameters |
| [out] | stat | Status 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: