MyMediaLite  3.11
Static Public Member Functions | List of all members
MultiCore Class Reference

Utility routines for multi-core algorithms More...

Static Public Member Functions

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

Detailed Description

Utility routines for multi-core algorithms

Member Function Documentation

static IList<IList<int> > PartitionIndices ( this IDataSet  dataset,
int  num_groups 
)
inlinestatic

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 
)
inlinestatic

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: