class cluster.matrix.Matrix(data, combinfunc, symmetric=False, diagonal=None)

Bases: object

Object representation of the item-item matrix.


Actually generate the matrix

Parameters:num_processes – If you want to use multiprocessing to split up the work and run combinfunc() in parallel, specify num_processes > 1 and this number of workers will be spun up, the work is split up amongst them evenly.

Multiprocessing task function run by worker processes