Taxonomy#

class momaapi.taxonomy.Taxonomy(dir_moma)#

The MOMA taxonomy object is a dictionary that contains information about the MOMA hierarchy. This typically should not be used, but contains information about different levels of the MOMA hierarchy for each split of the dataset.

Printing the Taxonomy can be done via

from momaapi import MOMA
moma = MOMA(dir_moma)
print(moma.taxonomy)