Predicts the results of the implicit ALS algorithm.
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::implicit_als::prediction::ratings::interface1::Batch< 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
- Method Implicit ALS prediction methods
Batch |
( |
const Batch< algorithmFPType, method > & |
other | ) |
|
|
inline |
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 |
services::SharedPtr<Batch<algorithmFPType, method> > clone |
( |
| ) |
const |
|
inline |
Returns a pointer to the newly allocated ALS ratings prediction algorithm with a copy of input objects 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
Returns the structure that contains the computed prediction results
- Returns
- Structure that contains the computed prediction results
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 |
Input objects for the algorithm
The documentation for this class was generated from the following file: