lenskit.data.schema.AttrLayout#

class lenskit.data.schema.AttrLayout#

Bases: enum.Enum

Possible layouts for entity attributes.

SCALAR = 'scalar'#

Scalar (non-list, non-vector) attribute value.

LIST = 'list'#

Homogenous, variable-length list of attribute values.

VECTOR = 'vector'#

Homogenous, fixed-length vector of numeric attribute values.

SPARSE = 'sparse'#

Homogenous, fixed-length sparse vector of numeric attribute values.