-
Notifications
You must be signed in to change notification settings - Fork 831
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SAR model to accept integer type for userId and itemId
Fixes #2274 Update SAR model to accept `userId` and `itemId` as integer types (`LongType`). * **SAR.scala** - Update `calculateUserItemAffinities` method to handle `userId` and `itemId` as `LongType`. - Update `calculateItemItemSimilarity` method to handle `userId` and `itemId` as `LongType`. * **test_ranking.py** - Add test case `test_adapter_evaluator_sar_with_long` to verify `userId` and `itemId` as `LongType`. * **Smart Adaptive Recommendations.md** - Update documentation to reflect that `userId` and `itemId` can be of `LongType`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/microsoft/SynapseML/issues/2274?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
3 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters