IItemBasedRecommender MostSimilarItems Method ( Int64 , Int32, Boolean)NReco.Recommender Class Library
Get list of most similar items

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

List<IRecommendedItem> MostSimilarItems(
	long[] itemIDs,
	int howMany,
	bool excludeItemIfNotSimilarToAll
)

Parameters

itemIDs
Type:  System Int64 
IDs of item for which to find most similar other items
howMany
Type: System Int32
desired number of most similar items to find
excludeItemIfNotSimilarToAll
Type: System Boolean
exclude an item if it is not similar to each of the input items

Return Value

Type: List IRecommendedItem 
items most similar to the given items, ordered from most similar to least
See Also