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 rating prediction stage of the implicit ALS algorithm More...

Public Member Functions

def __init__
 
def get
 
def set
 
def getNumberOfUsers
 
def getNumberOfItems
 
def check
 
- Public Member Functions inherited from InputIface
def getNumberOfUsers
 
def getNumberOfItems
 
- 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 input objects and parameters of the implicit ALS algorithm in the rating prediction stage

Parameters
parameterAlgorithm parameter
methodComputation method of the algorithm
def get (   self,
  id 
)

Returns an input Model object for the rating prediction stage of the implicit ALS algorithm

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

Returns the number of columns in the input numeric table

Returns
Number of columns in the input numeric table
def getNumberOfUsers (   self)

Returns the number of rows in the input numeric table

Returns
Number of rows in the input numeric table
def set (   self,
  id,
  ptr 
)

Sets an input Model object for the rating prediction stage of the implicit ALS 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.