czbenchmarks.models.types ========================= .. py:module:: czbenchmarks.models.types Attributes ---------- .. autoapisummary:: czbenchmarks.models.types.DataType czbenchmarks.models.types.ModelOutputs Classes ------- .. autoapisummary:: czbenchmarks.models.types.ModelType Module Contents --------------- .. py:data:: DataType :value: 'DataType' .. py:class:: ModelType(*args, **kwds) Bases: :py:obj:`enum.Enum` Create a collection of name/value pairs. Example enumeration: >>> class Color(Enum): ... RED = 1 ... BLUE = 2 ... GREEN = 3 Access them by: - attribute access:: >>> Color.RED - value lookup: >>> Color(1) - name lookup: >>> Color['RED'] Enumerations can be iterated over, and know how many members they have: >>> len(Color) 3 >>> list(Color) [, , ] Methods can be added to enumerations, and members can have their own attributes -- see the documentation for details. .. py:attribute:: BASELINE :value: 'BASELINE' .. py:attribute:: SCVI :value: 'SCVI' .. py:attribute:: SCGPT :value: 'SCGPT' .. py:attribute:: GENEFORMER :value: 'GENEFORMER' .. py:attribute:: SCGENEPT :value: 'SCGENEPT' .. py:attribute:: UCE :value: 'UCE' .. py:attribute:: AIDO :value: 'AIDO' .. py:attribute:: TRANSCRIPTFORMER :value: 'TRANSCRIPTFORMER' .. py:method:: __hash__() .. py:method:: __eq__(other) .. py:method:: __str__() .. py:method:: __repr__() .. py:data:: ModelOutputs