MyMediaLite  3.07
Static Public Member Functions
MultiCore Class Reference

Utility routines for multi-core algorithms. More...

List of all members.

Static Public Member Functions

static IList< IList< int > > PartitionIndices (this IDataSet dataset, int num_groups)
 Partition the indices of a dataset into groups.
static IList< int >[,] PartitionUsersAndItems (this IDataSet dataset, int num_groups)
 Partition dataset user- and item-wise for parallel processing.

Detailed Description

Utility routines for multi-core algorithms.


Member Function Documentation

static IList<IList<int> > PartitionIndices ( this IDataSet  dataset,
int  num_groups 
) [inline, static]

Partition the indices of a dataset into groups.

Returns:
the grouped indices
Parameters:
dataseta dataset
num_groupsthe number of groups
static IList<int> [,] PartitionUsersAndItems ( this IDataSet  dataset,
int  num_groups 
) [inline, static]

Partition dataset user- and item-wise for parallel processing.

Literature:

Returns:
a two-dimensional array of index lists, each entry corresponds to one block entry
Parameters:
dataseta feedback dataset
num_groupsthe number of groups both users and items are partitioned into

The documentation for this class was generated from the following file: