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

Public Member Functions | List of all members
Input Class Reference

Input objects for the implicit ALS training algorithm More...

Public Member Functions

def __init__
 
def getTable
 
def getModel
 
def setTable
 
def setModel
 
def getNumberOfUsers
 
def getNumberOfItems
 
def check
 
- Public Member Functions inherited from Input
def __init__
 
def check
 
- Public Member Functions inherited from Argument
def __init__
 
def __lshift__
 
def size
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Member Function Documentation

def check (   self,
  parameter,
  method 
)

Checks the parameters and input objects for the implicit ALS training algorithm

Parameters
parameterParameter of the algorithm
methodComputation method of the algorithm
def getModel (   self,
  id 
)

Returns the input initial model object for the implicit ALS training algorithm

Parameters
idIdentifier of the input object
Returns
Input object that corresponds to the given identifier
def getNumberOfItems (   self)

Returns the number of items equal to the number of columns in the input data set

Returns
Number of items
def getNumberOfUsers (   self)

Returns the number of users equal to the number of rows in the input data set

Returns
Number of users
def getTable (   self,
  id 
)

Returns the input numeric table object for the implicit ALS training algorithm

Parameters
idIdentifier of the input object
Returns
Input object that corresponds to the given identifier
def setModel (   self,
  id,
  ptr 
)

Sets the input initial model object for the implicit ALS training algorithm

Parameters
idIdentifier of the input object
ptrPointer to the input object
def setTable (   self,
  id,
  ptr 
)

Sets the input numeric table object for the implicit ALS training algorithm

Parameters
idIdentifier of the input object
ptrPointer to the input object

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

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