Predicts the results of the implicit ALS algorithm.
More...
- Parameters
-
fptype | 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
- Aliases
Batch_Float64AllUsersAllItems
is an alias of Batch(fptype=float64, method=daal.algorithms.implicit_als.prediction.ratings.allUsersAllItems)
Batch_Float32AllUsersAllItems
is an alias of Batch(fptype=float32, method=daal.algorithms.implicit_als.prediction.ratings.allUsersAllItems)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
Default constructor
- Variant 2
Constructs an implicit ALS ratings prediction algorithm by copying input objects and parameters of another implicit ALS ratings prediction algorithm
- Parameters
-
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 of this ALS ratings prediction algorithm
- Returns
- Pointer to the newly allocated algorithm
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
def setResult |
( |
|
self, |
|
|
|
result |
|
) |
| |
Registers user-allocated memory for storing the prediction results
- Parameters
-
result | Structure for storing the prediction results |
Input objects for the algorithm
The documentation for this class was generated from the following file: