C# Класс MyMediaLite.Diversification.SequentialDiversification

Sequential diversification
Literature: Cai-Nicolas Ziegler, Sean McNee, Joseph A. Konstan, Georg Lausen: Improving Recommendation Lists Through Topic Diversification. WWW 2005
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Описание методов

DiversifySequential() публичный Метод

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)
Результат IList

SequentialDiversification() публичный Метод

Constructor
public SequentialDiversification ( CorrelationMatrix item_correlation ) : System
item_correlation CorrelationMatrix the similarity measure to use for diversification
Результат System

Similarity() публичный статический Метод

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
Результат double

Similarity() публичный статический Метод

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
Результат double