alsPredict

systemds.operator.algorithm.alsPredict(userIDs: Matrix, I: Matrix, L: Matrix, R: Matrix)

This script computes the rating/scores for a given list of userIDs using 2 factor matrices L and R. We assume that all users have rates at least once and all items have been rates at least once.

Parameters:
  • userIDs – Column vector of user-ids (n x 1)

  • I – Indicator matrix user-id x user-id to exclude from scoring

  • L – The factor matrix L: user-id x feature-id

  • R – The factor matrix R: feature-id x item-id

Returns:

The output user-id/item-id/score#