Performs implicit ALS model-based prediction in the first step of the distributed processing mode.
More...
template<typename algorithmFPType, Method method>
class daal::algorithms::implicit_als::prediction::ratings::interface1::Distributed< step1Local, algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations for implicit ALS model-based prediction, double or float |
method | Implicit ALS prediction method, Method |
- Enumerations
-
- References
-
Constructs an implicit ALS ratings prediction algorithm by copying input objects and parameters of another implicit ALS ratings prediction algorithm
- Parameters
-
[in] | other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
Returns a pointer to the newly allocated ALS ratings prediction algorithm with a copy of input objects and parameters of this ALS ratings prediction algorithm
- Returns
- Pointer to the newly allocated algorithm
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns the method of the algorithm
- Returns
- Method of the algorithm
PartialResultPtr getPartialResult |
( |
| ) |
|
|
inline |
Returns the structure that contains computed partial results of the implicit ALS ratings prediction algorithm
- Returns
- Structure that contains computed partial results of the implicit ALS ratings prediction algorithm
Returns the structure that contains the results of the implicit ALS ratings prediction algorithm
- Returns
- Structure that contains the results of the implicit ALS ratings prediction algorithm
services::Status setPartialResult |
( |
const PartialResultPtr & |
partialResult, |
|
|
bool |
initFlag = false |
|
) |
| |
|
inline |
Registers user-allocated memory for storing partial results of the implicit ALS ratings prediction algorithm
- Parameters
-
[in] | partialResult | Structure for storing partial results of the implicit ALS ratings prediction algorithm |
[in] | initFlag | Flag that specifies whether partial results are initialized |
services::Status setResult |
( |
const ResultPtr & |
result | ) |
|
|
inline |
Registers user-allocated memory for storing the prediction results
- Parameters
-
[in] | result | Structure for storing the prediction results |
The documentation for this class was generated from the following file: