Input objects for the implicit ALS training algorithm
More...
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
def check |
( |
|
self, |
|
|
|
parameter, |
|
|
|
method |
|
) |
| |
Checks the parameters and input objects for the implicit ALS training algorithm
- Parameters
-
parameter | Parameter of the algorithm |
method | Computation method of the algorithm |
def getModel |
( |
|
self, |
|
|
|
id |
|
) |
| |
Returns the input initial model object for the implicit ALS training algorithm
- Parameters
-
id | Identifier 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
-
id | Identifier 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
-
id | Identifier of the input object |
ptr | Pointer to the input object |
def setTable |
( |
|
self, |
|
|
|
id, |
|
|
|
ptr |
|
) |
| |
Sets the input numeric table object for the implicit ALS training algorithm
- Parameters
-
id | Identifier of the input object |
ptr | Pointer to the input object |
The documentation for this class was generated from the following file:
- algorithms/implicit_als/training/__init__.py