Visible to Intel only — GUID: GUID-CA3A6D89-4393-4B14-B3F9-FFD3C03734FA
Visible to Intel only — GUID: GUID-CA3A6D89-4393-4B14-B3F9-FFD3C03734FA
Recommendation Systems Usage Model
A typical workflow for methods of recommendation systems includes training and prediction, as explained below.
Algorithm-Specific Parameters
The parameters used by recommender algorithms at each stage depend on a specific algorithm. For a list of these parameters, refer to the description of an appropriate recommender algorithm.
Training Stage
![](/content/dam/docs/us/en/developer-guide-reference/2023-2/9F9D2704-368D-4062-A333-699ACB874C67-low.png)
At the training stage, recommender algorithms accept the input described below. Pass the Input ID as a parameter to the methods that provide input for your algorithm. For more details, see Algorithms.
Input ID |
Input |
---|---|
data |
Pointer to the \(m \times n\) numeric table with the mining data.
NOTE:
This table can be an object of any class derived from NumericTable except PackedTriangularMatrix and PackedSymmetricMatrix.
|
At the training stage, recommender algorithms calculate the result described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm. For more details, see Algorithms.
Result ID |
Result |
---|---|
model |
Model with initialized item factors.
NOTE:
The result can only be an object of the Model class.
|
Prediction Stage
![](/content/dam/docs/us/en/developer-guide-reference/2023-2/AD458501-5AA0-42C6-91FE-55BBA8491FE3-low.png)
At the prediction stage, recommender algorithms accept the input described below. Pass the Input ID as a parameter to the methods that provide input for your algorithm. For more details, see Algorithms.
Input ID |
Input |
---|---|
model |
Model with initialized item factors.
NOTE:
This input can only be an object of the Model class.
|
At the prediction stage, recommender algorithms calculate the result described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm. For more details, see Algorithms.
Result ID |
Result |
---|---|
prediction |
Pointer to the \(m \times n\) numeric table with predicted ratings.
NOTE:
By default, this table is an object of the HomogenNumericTable class, but you can define it as an object of any class derived from NumericTable except PackedSymmetricMatrix, PackedTriangularMatrix, and CSRNumericTable.
|