Retrieves the highest scored item for the given array of users, based on item similarity and the rating column.
- macOS 10.14+
- Xcode 11.0+
- Create ML
An array of user identifiers.
The maximum number of recommendations per user. The default is
An array of item identifiers that defines the only values the recommender can use this set of recommendations. By default, the parameter is
nil, meaning there are no restrictions.
A data table of user-item observations to exclude from recommendations. The default is
nil, meaning no observations are excluded. The column names for the user identifiers and item identifiers must be the same as those provided in the training data.
Set this value to
trueto omit training data from the recommendations, or
falseto include them. The default is
MLData containing columns with user identifiers, item identifiers, scores and ranks (numbered between
1 and the