lenskit.parallel.chunking#
Support for computing chunks for parallel computation.
Classes
|
The chunking configuration for parallel work. |
- class lenskit.parallel.chunking.WorkChunks(total, chunk_size, chunk_count)#
Bases:
NamedTuple
The chunking configuration for parallel work.
- classmethod create(njobs)#
Compute the chunk size for parallel model training.