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
|
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 |
|
) |
| |
|
inlinestatic |
Partition the indices of a dataset into groups
- Returns
- the grouped indices
- Parameters
-
dataset | a dataset |
num_groups | the 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
-
dataset | a feedback dataset |
num_groups | the number of groups both users and items are partitioned into |
The documentation for this class was generated from the following file: