IDataModel SetPreference Method NReco.Recommender Class Library
Sets a particular preference (item plus rating) for a user.

Namespace: NReco.CF.Taste.Model
Assembly: NReco.Recommender (in NReco.Recommender.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

void SetPreference(
	long userID,
	long itemID,
	float value
)
Remarks

throws NReco.CF.Taste.Common.NoSuchItemException if the item does not exist. throws NReco.CF.Taste.Common.NoSuchUserException if the user does not exist.
See Also