IRecommender EstimatePreference Method NReco.Recommender Class Library
Estimate preference for given user ID and item ID

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

float EstimatePreference(
	long userID,
	long itemID
)

Parameters

userID
Type: System Int64
user ID whose preference is to be estimated
itemID
Type: System Int64
item ID to estimate preference for

Return Value

Type: Single
an estimated preference if the user has not expressed a preference for the item, or else the user's actual preference for the item. If a preference cannot be estimated, returns Double.NaN
See Also