FabianGroeger commited on
Commit
9f8c64a
·
verified ·
1 Parent(s): 3b3dca4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +50 -116
README.md CHANGED
@@ -19,140 +19,74 @@ configs:
19
  - config_name: off_topic_samples
20
  data_files: "off_topic_samples.csv"
21
  ---
22
- # CleanPatrick - Data Cleaning Benchmark
23
 
24
- <!-- Provide a quick summary of the dataset. -->
 
 
25
 
26
- This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).
27
 
28
- ## Dataset Details
29
-
30
- ### Dataset Description
31
-
32
- <!-- Provide a longer summary of what this dataset is. -->
33
-
34
-
35
-
36
- - **Curated by:** [More Information Needed]
37
- - **Funded by [optional]:** [More Information Needed]
38
- - **Shared by [optional]:** [More Information Needed]
39
- - **Language(s) (NLP):** [More Information Needed]
40
- - **License:** [More Information Needed]
41
-
42
- ### Dataset Sources [optional]
43
-
44
- <!-- Provide the basic links for the dataset. -->
45
-
46
- - **Repository:** [More Information Needed]
47
- - **Paper [optional]:** [More Information Needed]
48
- - **Demo [optional]:** [More Information Needed]
49
-
50
- ## Uses
51
-
52
- <!-- Address questions around how the dataset is intended to be used. -->
53
-
54
- ### Direct Use
55
-
56
- <!-- This section describes suitable use cases for the dataset. -->
57
-
58
- [More Information Needed]
59
-
60
- ### Out-of-Scope Use
61
-
62
- <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
63
-
64
- [More Information Needed]
65
-
66
- ## Dataset Structure
67
-
68
- <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
69
-
70
- [More Information Needed]
71
-
72
- ## Dataset Creation
73
-
74
- ### Curation Rationale
75
-
76
- <!-- Motivation for the creation of this dataset. -->
77
-
78
- [More Information Needed]
79
 
80
- ### Source Data
81
 
82
- <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
 
 
83
 
84
- #### Data Collection and Processing
85
 
86
- <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
87
 
88
- [More Information Needed]
89
 
90
- #### Who are the source data producers?
 
 
91
 
92
- <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
93
 
94
- [More Information Needed]
95
-
96
- ### Annotations [optional]
97
-
98
- <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
99
-
100
- #### Annotation process
101
-
102
- <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
103
-
104
- [More Information Needed]
105
-
106
- #### Who are the annotators?
107
-
108
- <!-- This section describes the people or systems who created the annotations. -->
109
-
110
- [More Information Needed]
111
-
112
- #### Personal and Sensitive Information
113
-
114
- <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
115
-
116
- [More Information Needed]
117
-
118
- ## Bias, Risks, and Limitations
119
-
120
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
121
-
122
- [More Information Needed]
123
-
124
- ### Recommendations
125
-
126
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
127
-
128
- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
129
-
130
- ## Citation [optional]
131
-
132
- <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
133
-
134
- **BibTeX:**
135
-
136
- [More Information Needed]
137
-
138
- **APA:**
139
 
140
- [More Information Needed]
 
 
 
 
 
141
 
142
- ## Glossary [optional]
143
 
144
- <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
145
 
146
- [More Information Needed]
147
 
148
- ## More Information [optional]
 
149
 
150
- [More Information Needed]
 
151
 
152
- ## Dataset Card Authors [optional]
 
153
 
154
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
155
 
156
- ## Dataset Card Contact
 
 
 
157
 
158
- [More Information Needed]
 
 
19
  - config_name: off_topic_samples
20
  data_files: "off_topic_samples.csv"
21
  ---
22
+ # CleanPatrick: A Benchmark for Data Cleaning in Dermatology Images
23
 
24
+ Welcome to **CleanPatrick**, the first large-scale benchmark designed for data cleaning in the image domain.
25
+ Built on the Fitzpatrick17k dermatology dataset, CleanPatrick is a dataset for measuring the performance in detecting three major data quality issues:
26
+ **off-topic samples**, **near-duplicates**, and **label errors**.
27
 
28
+ ![CleanPatrick Teaser](./assets/CleanPatrick_Teaser_compressed.png)
29
 
30
+ ## Overview
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
+ CleanPatrick consists of dermatological images annotated with over **500,000 binary labels** across **three data quality issues**:
33
 
34
+ 1. **Off-topic Samples**: Images that are irrelevant to the dataset, such as non-dermatological content or images with no visible skin diseases.
35
+ 2. **Near-Duplicates**: Highly similar images that may be caused by transformations, resolutions, or multiple views of the same condition.
36
+ 3. **Label Errors**: Images with incorrect labels, including mislabeling and rare conditions mistakenly classified.
37
 
38
+ This dataset provides a realistic test bed to benchmark data cleaning strategies for image datasets, particularly in the medical domain.
39
 
40
+ ![Data Quality Issues](./assets/DataQualityIssues.png)
41
 
42
+ ## Key Features
43
 
44
+ - **Real-World Contamination**: Unlike synthetic datasets with artificially induced errors, CleanPatrick contains naturally occurring issues that reflect true real-world contamination found in dermatology image datasets.
45
+ - **Expert Annotations**: The dataset was annotated by medical crowd workers with expertise, and results were validated by medical professionals to ensure high-quality ground truth.
46
+ - **Evaluation Framework**: Along with the dataset, CleanPatrick provides an evaluation framework for benchmarking methods to detect data quality issues, offering standardized metrics to compare various cleaning strategies.
47
 
48
+ ![Benchmark](./assets/benchmark_results_barplot.png)
49
 
50
+ ## Dataset Details
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
+ - **Total Number of Images**: 17,000 dermatology images
53
+ - **Annotation Volume**: 500,000 annotations from 933 medical crowd workers
54
+ - **Categories of Data Quality Issues**:
55
+ - **Off-Topic**: 4% of the images
56
+ - **Near-Duplicates**: 21% of the images
57
+ - **Label Errors**: 22% of the images
58
 
59
+ The dataset is available as a set of image-label pairs, with each image labeled according to whether it suffers from one or more of the three data quality issues.
60
 
61
+ ## Installation
62
 
63
+ To load the dataset using the HuggingFace `datasets` library:
64
 
65
+ ```python
66
+ from datasets import load_dataset
67
 
68
+ dataset = load_dataset("Digital-Dermatology/CleanPatrick")
69
+ ```
70
 
71
+ ## Citation
72
+ If you use this dataset in your research, please cite the following paper:
73
 
74
+ ```bib
75
+ @article{
76
+ groeger2025cleanpatrick,
77
+ title={CleanPatrick: A Benchmark for Data Cleaning in Medical Imaging},
78
+ author={Gr\"oger, Fabian and Lionetti, Simone and Gottfrois, Philippe and Gonzalez-Jimenez, Alvaro
79
+ and Amruthalingam, Ludovic and Goessinger, Elisabeth V. and Lindemann, Hanna and Bargiela, Marie
80
+ and Hofbauer, Marie and Badri, Omar and Tschandl, Philipp and Koochek, Arash and Groh, Matthew
81
+ and Navarini, Alexander A. and Pouly, Marc},
82
+ year={2025},
83
+ }
84
+ ```
85
 
86
+ ## Acknowledgements
87
+ We thank the medical crowd workers and domain experts who contributed to this dataset.
88
+ The creation of CleanPatrick was made possible by their efforts and the valuable annotations provided.
89
+ Additionally we want to thank Centaur Labs for their help in collecting large amounts of crowdsourced annotations.
90
 
91
+ ## License
92
+ This dataset is released under the CC BY-NC-SA 3.0 license.