Python* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5
Model trained by the implicit ALS algorithm in the batch processing mode. More...
Public Member Functions | |
| def | serializationTag |
| def | getSerializationTag |
| def | downCast |
| def | getUsersFactors |
| def | getItemsFactors |
| def | __init__ |
Public Member Functions inherited from Model | |
| def | __init__ |
| def | getSerializationTag |
Public Member Functions inherited from SerializationIface | |
| def | serialize |
| def | deserialize |
| def | getSerializationTag |
Public Member Functions inherited from Base | |
| def | __init__ |
| def __init__ | ( | self, | |
| args | |||
| ) |
Empty constructor for deserialization
Constructs the implicit ALS model
| nUsers | Number of users in the input data set |
| nItems | Number of items in the input data set |
| parameter | Implicit ALS parameters |
| dummy | Dummy variable for the templated constructor |
float64float32 | def downCast | ( | r | ) |
downCast(daal.services.SharedPtr< daal.algorithms.Model > const & r) -> daal.services.SharedPtr< daal.algorithms.implicit_als.Model >
| def getItemsFactors | ( | self | ) |
Returns a pointer to the numeric table of items factors constructed during the training of the implicit ALS model
| def getSerializationTag | ( | self | ) |
getSerializationTag(Model self) -> int
| def getUsersFactors | ( | self | ) |
Returns a pointer to the numeric table of users factors constructed during the training of the implicit ALS model
| def serializationTag | ( | ) |
serializationTag() -> int
For more complete information about compiler optimizations, see our Optimization Notice.