The IDataModel type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetItemIDs |
Get all item IDs in the model
| |
GetItemIDsFromUser |
Get list of item IDs for specified user ID
| |
GetMaxPreference |
Get maximum preference value that is possible in the current problem domain being evaluated.
| |
GetMinPreference |
Get minimum preference value that is possible in the current problem domain being evaluated.
| |
GetNumItems |
Get total number of items in the model
| |
GetNumUsers |
Get total number of users in the model
| |
GetNumUsersWithPreferenceFor(Int64) |
Ger number of users that prefer specified item ID
| |
GetNumUsersWithPreferenceFor(Int64, Int64) |
Ger number of users that prefer both specified item IDs
| |
GetPreferencesForItem |
Get all existing preferences by specified item ID
| |
GetPreferencesFromUser |
Get preferences for specified user ID
| |
GetPreferenceTime |
Retrieves the time at which a preference value from a user and item was set, if known.
| |
GetPreferenceValue |
Retrieves the preference value for a single user and item.
| |
GetUserIDs |
All user IDs in the model, in order
| |
HasPreferenceValues |
Check if data model has distinct preference values
| |
Refresh | (Inherited from IRefreshable.) | |
RemovePreference |
Removes a particular preference for a user.
| |
SetPreference |
Sets a particular preference (item plus rating) for a user.
|
See Also