Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Member Functions | List of all members
Model Class Reference

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__
 

Detailed Description

References

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1

Empty constructor for deserialization

Deprecated:
This item will be removed in a future release. Use Model.create instead.

Variant 2

Constructs the implicit ALS model

Parameters
nUsersNumber of users in the input data set
nItemsNumber of items in the input data set
parameterImplicit ALS parameters
dummyDummy variable for the templated constructor
Deprecated:
This item will be removed in a future release. Use Model.create instead.
Allowed Types
  • float64
  • float32

Member Function Documentation

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

Returns
Numeric table of items factors
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

Returns
Numeric table of users factors
def serializationTag ( )

The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.