dacapo.experiments.datasplits.datasets.arrays.binarize_array_config
Classes
This config class provides the necessary configuration for turning an Annotated dataset into a |
Module Contents
- class dacapo.experiments.datasplits.datasets.arrays.binarize_array_config.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.
- 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:
- 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]]]
- 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.
- array_type
- source_array_config: dacapo.experiments.datasplits.datasets.arrays.array_config.ArrayConfig
- groupings: List[Tuple[str, List[int]]]
- background: int