Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1
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__ |
![]() | |
def | __init__ |
def | getSerializationTag |
![]() | |
def | serialize |
def | deserialize |
def | getSerializationTag |
![]() | |
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 |
float64
float32
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.