MRFSpec#
- class liesel_gam.MRFSpec(mapping: CategoryMapping, nb: dict[str, list[str]] | None, ordered_labels: list[str] | None, polys: dict[str, ArrayLike] | None)[source]#
Bases:
NamedTupleA named tuple, containing information about the Markov random field setup.
The
MRFSpechas the attributesnb(neighborhood structure),mapping(label-integer map for the region labels), andordered_labels(ordered labels, such that the order correspond to the columns of the basis matrix.)Attributes
Alias for field number 0
Alias for field number 1
Alias for field number 2
Alias for field number 3