peal.data.custom_datasets.ISICAnnotatedDataset¶
- class peal.data.custom_datasets.ISICAnnotatedDataset[source]¶
Bases:
Image2MixedDatasetISIC skin lesions with the annotated lesion size as confounder.
If
<dataset_path>/data.csvis missing,_prepare_datasetdownloads the image and segmentation metadata plussegs.zipfrom Zenodo record 14201693, extracts the masks tomasks/, measures for every lesion the fraction of its mask above half intensity, and writesimgs, label, confounder- benign vs. malignant as the label, and a mask area above the median area as the confounder.- Parameters:
config (
DataConfig) – Usesdataset_path.**kwargs – Forwarded to
Image2MixedDataset.
Methods
Attributes