Python* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5
Partial model trained by the implicit ALS training algorithm in the distributed processing mode. More...
Public Member Functions | |
| def | serializationTag |
| def | getSerializationTag |
| def | create |
| def | getFactors |
| def | getIndices |
| 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 | |||
| ) |
Constructs a partial implicit ALS model from the indices and factors stored in the numeric tables
| factors | Pointer to the numeric table with factors stored in row-major order |
| indices | Pointer to the numeric table with the indices of factors |
Empty constructor for deserialization
Constructs a partial implicit ALS model of a specified size
| parameter | Implicit ALS parameters |
| size | Model size |
| dummy | Dummy variable for the templated constructor |
Constructs a partial implicit ALS model from the indices of factors
| parameter | Implicit ALS parameters |
| offset | Index of the first factor in the partial model |
| indices | Pointer to the numeric table with the indices of factors |
| dummy | Dummy variable for the templated constructor |
float64float32 | def create | ( | factors, | |
| indices, | |||
stat = None |
|||
| ) |
Constructs a partial implicit ALS model from the indices and factors stored in the numeric tables
| factors | Pointer to the numeric table with factors stored in row-major order |
| indices | Pointer to the numeric table with the indices of factors |
| stat | Status of the model construction |
| def getFactors | ( | self | ) |
Returns pointer to the numeric table with factors stored in row-major order
| def getIndices | ( | self | ) |
Returns the pointer to the numeric table with the indices of factors
| def getSerializationTag | ( | self | ) |
getSerializationTag(PartialModel self) -> int
| def serializationTag | ( | ) |
serializationTag() -> int
For more complete information about compiler optimizations, see our Optimization Notice.