dacapo.experiments.datasplits.datasets.arrays.binarize_array_config =================================================================== .. py:module:: dacapo.experiments.datasplits.datasets.arrays.binarize_array_config Classes ------- .. autoapisummary:: dacapo.experiments.datasplits.datasets.arrays.binarize_array_config.BinarizeArrayConfig Module Contents --------------- .. py:class:: BinarizeArrayConfig This config class provides the necessary configuration for turning an Annotated dataset into a multi class binary classification problem. Each class will be binarized into a separate channel. .. attribute:: source_array_config The Array from which to pull annotated data. Is expected to contain a volume with uint64 voxels and no channel dimension :type: ArrayConfig .. attribute:: groupings List of id groups with a symantic name. Each id group is a List of ids. Group i found in groupings[i] will be binarized and placed in channel i. An empty group will binarize all non background labels. :type: List[Tuple[str, List[int]]] .. attribute:: background The id considered background. Will never be binarized to 1, defaults to 0. :type: int .. note:: This class is used to create a BinarizeArray object which is used to turn an Annotated dataset into a multi class binary classification problem. Each class will be binarized into a separate channel. .. py:attribute:: array_type .. py:attribute:: source_array_config :type: dacapo.experiments.datasplits.datasets.arrays.array_config.ArrayConfig .. py:attribute:: groupings :type: List[Tuple[str, List[int]]] .. py:attribute:: background :type: int