Model trained by the implicit ALS algorithm in the batch processing mode.
More...
◆ Model() [1/2]
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.
◆ Model() [2/2]
Empty constructor for deserialization
- Deprecated:
- This item will be removed in a future release. Use Model::create instead.
◆ create()
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 |
◆ getItemsFactors()
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
◆ getUsersFactors()
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: