Partial model trained by the implicit ALS training algorithm in the distributed processing mode.
More...
|
template<typename modelFPType > |
static DAAL_EXPORT
services::SharedPtr
< PartialModel > | create (const Parameter ¶meter, size_t size, services::Status *stat=NULL) |
|
template<typename modelFPType > |
static DAAL_EXPORT
services::SharedPtr
< PartialModel > | create (const Parameter ¶meter, 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) |
|
Constructs a partial implicit ALS model of a specified size
- Parameters
-
[in] | parameter | Implicit ALS parameters |
[in] | size | Model size |
[in] | dummy | Dummy 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] | parameter | Implicit ALS parameters |
[in] | offset | Index of the first factor in the partial model |
[in] | indices | Pointer to the numeric table with the indices of factors |
[in] | dummy | Dummy 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] | factors | Pointer to the numeric table with factors stored in row-major order |
[in] | indices | Pointer 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.
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] | parameter | Implicit ALS parameters |
[in] | size | Model size |
[out] | stat | Status 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] | parameter | Implicit ALS parameters |
[in] | offset | Index of the first factor in the partial model |
[in] | indices | Pointer to the numeric table with the indices of factors |
[out] | stat | Status 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] | factors | Pointer to the numeric table with factors stored in row-major order |
[in] | indices | Pointer to the numeric table with the indices of factors |
[out] | stat | Status 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: