Sets a particular preference (item plus rating) for a user.
Namespace: NReco.CF.Taste.ModelAssembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
void SetPreference(
long userID,
long itemID,
float value
)
void SetPreference(
long userID,
long itemID,
float value
)
Sub SetPreference (
userID As Long,
itemID As Long,
value As Single
)
Sub SetPreference (
userID As Long,
itemID As Long,
value As Single
)
void SetPreference(
long long userID,
long long itemID,
float value
)
void SetPreference(
long long userID,
long long itemID,
float value
)
abstract SetPreference :
userID : int64 *
itemID : int64 *
value : float32 -> unit
abstract SetPreference :
userID : int64 *
itemID : int64 *
value : float32 -> unit
throws NReco.CF.Taste.Common.NoSuchItemException if the item does not exist.
throws NReco.CF.Taste.Common.NoSuchUserException if the user does not exist.