lenskit.data.matrix.COOStructure#

class lenskit.data.matrix.COOStructure#

Bases: NamedTuple

Representation of the coordinate structure of a sparse matrix, without any data values.

Stability:
Caller (see Stability Levels).
row_numbers: numpy.ndarray#
col_numbers: numpy.ndarray#
shape: tuple[int, int]#
property nrows#
property ncols#
property nnz#