MyMediaLite  3.04
Static Public Member Functions
MultiCore Class Reference

Class containing utility routines for multi-core algorithms. More...

List of all members.

Static Public Member Functions

static 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

Class containing utility routines for multi-core algorithms.


Member Function Documentation

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

Partition the indices of a dataset into groups.

Returns:
the groupes 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: