lenskit._accel#

Entry point for LensKit accelerator module.

Functions

init_accel_pool(n_threads)

sparse_row_debug_type(array)

Test function to make sure we can convert sparse rows.

sparse_structure_debug_large(array)

Test function to make sure we can convert sparse rows to large.

thread_count()

class lenskit._accel.FunkSVDTrainer(config, data, user_features, item_features)#

Bases: object

Train FunkSVD models.

feature_epoch(feature, estimates, trail)#

Train a FunkSVD feature for one epoch.

lenskit._accel.sparse_row_debug_type(array)#

Test function to make sure we can convert sparse rows.

lenskit._accel.sparse_structure_debug_large(array)#

Test function to make sure we can convert sparse rows to large.