IPosOnlyFeedback Interface Reference

Interface for implicit, positive-only user feedback. More...

Inheritance diagram for IPosOnlyFeedback:
PosOnlyFeedback< T >

List of all members.

Public Member Functions

void Add (int user_id, int item_id)
 Add a user-item event to the data structure.
int Overlap (IPosOnlyFeedback s)
 Compute the number of overlapping events in two feedback datasets.
void Remove (int user_id, int item_id)
 Remove a user-item event from the data structure.
void RemoveItem (int item_id)
 Remove all feedback about a given item.
void RemoveUser (int user_id)
 Remove all feedback by a given user.

Properties

ICollection< int > AllItems [get]
 all items mentioned at least once
ICollection< int > AllUsers [get]
 all users that have given feedback
int Count [get]
 the number of feedback events
IBooleanMatrix ItemMatrix [get]
 By-item access, items are stored in the rows, users in the culumns.
int MaxItemID [get]
 the maximum item ID
int MaxUserID [get]
 the maximum user ID
IBooleanMatrix UserMatrix [get]
 By-user access, users are stored in the rows, items in the culumns.

Detailed Description

Interface for implicit, positive-only user feedback.


Member Function Documentation

void Add ( int  user_id,
int  item_id 
)

Add a user-item event to the data structure.

Parameters:
user_id the user ID
item_id the item ID

Implemented in PosOnlyFeedback< T >.

int Overlap ( IPosOnlyFeedback  s  ) 

Compute the number of overlapping events in two feedback datasets.

Parameters:
s the feedback dataset to compare to
Returns:
the number of overlapping events, i.e. events that have the same user and item ID

Implemented in PosOnlyFeedback< T >.

void Remove ( int  user_id,
int  item_id 
)

Remove a user-item event from the data structure.

Parameters:
user_id the user ID
item_id the item ID

Implemented in PosOnlyFeedback< T >.

void RemoveItem ( int  item_id  ) 

Remove all feedback about a given item.

Parameters:
item_id the item ID

Implemented in PosOnlyFeedback< T >.

void RemoveUser ( int  user_id  ) 

Remove all feedback by a given user.

Parameters:
user_id the user id

Implemented in PosOnlyFeedback< T >.


Property Documentation

ICollection<int> AllItems [get]

all items mentioned at least once

Implemented in PosOnlyFeedback< T >.

ICollection<int> AllUsers [get]

all users that have given feedback

Implemented in PosOnlyFeedback< T >.

int Count [get]

the number of feedback events

Implemented in PosOnlyFeedback< T >.

IBooleanMatrix ItemMatrix [get]

By-item access, items are stored in the rows, users in the culumns.

Implemented in PosOnlyFeedback< T >.

int MaxItemID [get]

the maximum item ID

Implemented in PosOnlyFeedback< T >.

int MaxUserID [get]

the maximum user ID

Implemented in PosOnlyFeedback< T >.

IBooleanMatrix UserMatrix [get]

By-user access, users are stored in the rows, items in the culumns.

Implemented in PosOnlyFeedback< T >.


The documentation for this interface was generated from the following file:
Generated on Thu Sep 1 19:35:56 2011 for MyMediaLite by  doxygen 1.6.3