C# Class MyMediaLite.Diversification.SequentialDiversification

Sequential diversification
Literature: Cai-Nicolas Ziegler, Sean McNee, Joseph A. Konstan, Georg Lausen: Improving Recommendation Lists Through Topic Diversification. WWW 2005
Datei anzeigen Open project: zenogantner/MML-KDD

Private Properties

Property Type Description

Public Methods

Method Description
DiversifySequential ( IList item_list, double diversification_parameter ) : IList

Diversify an item list

SequentialDiversification ( CorrelationMatrix item_correlation ) : System

Constructor

Similarity ( ICollection items, CorrelationMatrix item_correlation ) : double

Compute the intra-set similarity of an item collection

Similarity ( int item_id, ICollection items, CorrelationMatrix item_correlation ) : double

Compute similarity between one item and a collection of items

Method Details

DiversifySequential() public method

Diversify an item list
public DiversifySequential ( IList item_list, double diversification_parameter ) : IList
item_list IList a list of items
diversification_parameter double the diversification parameter (higher means more diverse)
return IList

SequentialDiversification() public method

Constructor
public SequentialDiversification ( CorrelationMatrix item_correlation ) : System
item_correlation CorrelationMatrix the similarity measure to use for diversification
return System

Similarity() public static method

Compute the intra-set similarity of an item collection
public static Similarity ( ICollection items, CorrelationMatrix item_correlation ) : double
items ICollection a collection of items
item_correlation CorrelationMatrix the similarity measure to use
return double

Similarity() public static method

Compute similarity between one item and a collection of items
public static Similarity ( int item_id, ICollection items, CorrelationMatrix item_correlation ) : double
item_id int the item ID
items ICollection a collection of items
item_correlation CorrelationMatrix the similarity measure to use
return double