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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pretty_name: Character Similarity Dataset
|
| 6 |
+
description: "Collection of textual trait descriptions of fish along with the corresponding ontology based similarity measures between trait description pairs. The distance is estimated using the Phenoscape Knowledgebase as the ontology."
|
| 7 |
+
task_categories:
|
| 8 |
+
- feature-extraction
|
| 9 |
+
tags:
|
| 10 |
+
- biology
|
| 11 |
+
- organism
|
| 12 |
+
- animals
|
| 13 |
+
- fish
|
| 14 |
+
- traits
|
| 15 |
+
- ontology
|
| 16 |
+
- phenoscape
|
| 17 |
+
size_categories: 10K<n<100K
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: full_data
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: all/*_TRAINING.tsv.gz
|
| 23 |
+
- split: test
|
| 24 |
+
path: all/*_ALL_NON_TRAIN.tsv.gz
|
| 25 |
+
default: true
|
| 26 |
+
- config_name: characiformes
|
| 27 |
+
data_files:
|
| 28 |
+
- split: train
|
| 29 |
+
path: characiformes/*_TRAINING.tsv.gz
|
| 30 |
+
- split: test
|
| 31 |
+
path: characiformes/*_ALL_NON_TRAIN.tsv.gz
|
| 32 |
+
- config_name: cypriniformes
|
| 33 |
+
data_files:
|
| 34 |
+
- split: train
|
| 35 |
+
path: cypriniformes/*_TRAINING.tsv.gz
|
| 36 |
+
- split: test
|
| 37 |
+
path: cypriniformes/*_ALL_NON_TRAIN.tsv.gz
|
| 38 |
+
- config_name: gymnotiformes
|
| 39 |
+
data_files:
|
| 40 |
+
- split: train
|
| 41 |
+
path: gymnotiformes/*_TRAINING.tsv.gz
|
| 42 |
+
- split: test
|
| 43 |
+
path: gymnotiformes/*_ALL_NON_TRAIN.tsv.gz
|
| 44 |
+
- config_name: siruliformes
|
| 45 |
+
data_files:
|
| 46 |
+
- split: train
|
| 47 |
+
path: siruliformes/*_TRAINING.tsv.gz
|
| 48 |
+
- split: test
|
| 49 |
+
path: siruliformes/*_ALL_NON_TRAIN.tsv.gz
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
# Dataset Card for Character Similarity Dataset
|
| 53 |
+
|
| 54 |
+
<!-- Provide a quick summary of what the dataset is or can be used for. -->
|
| 55 |
+
|
| 56 |
+
## Dataset Details
|
| 57 |
+
The Character Similarity Dataset is a collection of textual trait descriptions along with the corresponding ontology based similarity measures between trait description pairs. The distance is estimated using the [Phenoscape Knowledgebase](https://kb.phenoscape.org/) as the ontology.
|
| 58 |
+
|
| 59 |
+
### Dataset Description
|
| 60 |
+
|
| 61 |
+
- **Curated by:** Jim Balhoff, Soumyashree Kar, Juan Garcia, Hilmar Lapp
|
| 62 |
+
- **Language(s) (NLP):** English
|
| 63 |
+
- **Repository:** [Imageomics/char-sim](https://github.com/Imageomics/char-sim)
|
| 64 |
+
- **Paper:** Coming soon!
|
| 65 |
+
|
| 66 |
+
The Character Similarity Dataset is a collection of 19K textual trait descriptions of fish collected from the [Phenoscape Knowledgebase](https://kb.phenoscape.org/). The dataset also contains the corresponding pairwise similarity measures between trait descriptors (i.e., maxIC, Jaccard, SimGIC). These metrics estimate semantic similarity between the ontological representation of the traits descriptions per the Phenoscape Knowledgebase. The goal is to use this pairwise similarities to inform an embedding space that preserves the structure of the underlying ontology.
|
| 67 |
+
|
| 68 |
+
### Supported Tasks and Leaderboards
|
| 69 |
+
Task: Aligned feature extraction. Metric: Spearman's correlation coefficient.
|
| 70 |
+
|
| 71 |
+
| Model | Test set |
|
| 72 |
+
|:-------------------|:-----------|
|
| 73 |
+
| [**Trait2Vec**](https://huggingface.co/imageomics/trait2vec) | **0.7057** |
|
| 74 |
+
|
| 75 |
+
<!-- Provide benchmarking results -->
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
## Dataset Structure
|
| 79 |
+
|
| 80 |
+
```
|
| 81 |
+
raw-source/
|
| 82 |
+
phenex-data-merged.ofn.gz
|
| 83 |
+
phenoscape-kb-tbox-classified.ttl.gz
|
| 84 |
+
processed-data/
|
| 85 |
+
all/
|
| 86 |
+
data_{percentage}p_TRAINING.tsv.gz
|
| 87 |
+
data_{percentage}p_ALL_NON_TRAIN.tsv.gz
|
| 88 |
+
data_{percentage}p_NON_OVERLAP.tsv.gz
|
| 89 |
+
characiformes/
|
| 90 |
+
data_{percentage}p_TRAINING.tsv.gz
|
| 91 |
+
data_{percentage}p_ALL_NON_TRAIN.tsv.gz
|
| 92 |
+
data_{percentage}p_NON_OVERLAP.tsv.gz
|
| 93 |
+
cypriniformes/
|
| 94 |
+
data_{percentage}p_TRAINING.tsv.gz
|
| 95 |
+
data_{percentage}p_ALL_NON_TRAIN.tsv.gz
|
| 96 |
+
data_{percentage}p_NON_OVERLAP.tsv.gz
|
| 97 |
+
gymnotiformes/
|
| 98 |
+
data_{percentage}p_TRAINING.tsv.gz
|
| 99 |
+
data_{percentage}p_ALL_NON_TRAIN.tsv.gz
|
| 100 |
+
data_{percentage}p_NON_OVERLAP.tsv.gz
|
| 101 |
+
siruliformes/
|
| 102 |
+
data_{percentage}p_TRAINING.tsv.gz
|
| 103 |
+
data_{percentage}p_ALL_NON_TRAIN.tsv.gz
|
| 104 |
+
data_{percentage}p_NON_OVERLAP.tsv.gz
|
| 105 |
+
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
`phenex-data-merged.ofn.gz` and `phenoscape-kb-tbox-classified.ttl.gz` contain URLs to access the trait data from [Phenoscape Knowledgebase](https://kb.phenoscape.org/). Running the processing script creates the four subset folders (`characiformes/`, `cypriniformes/`, `gymnotiformes/`, and `siruliformes/`, each an order of fish), then combines their data into the `all/` directory to create the training and test datasets.
|
| 109 |
+
|
| 110 |
+
Note: `percentage` is the parameter passed for the percentage of the data to use for training; in this case, `percentage = 80`.
|
| 111 |
+
|
| 112 |
+
### Data Instances
|
| 113 |
+
Percentage is the proportion of data that will be used for training (i.e. data_{percentage}p_TRAINING.tsv.gz). In case the percentage is smaller than 100, the remaining proportion of the dataset is stored in data{percentage}p_ALL_NON_TRAIN.tsv.gz and a subset of this in data_{percentage}p_NON_OVERLAP.tsv.gz. Each of this files corresponds to a
|
| 114 |
+
|
| 115 |
+
<!--
|
| 116 |
+
Describe data files
|
| 117 |
+
|
| 118 |
+
Ex: All images are named <img_id>.png, each within a folder named for the species. They are 1024 x 1024, and the color has been standardized using <link to color standardization package>.
|
| 119 |
+
-->
|
| 120 |
+
|
| 121 |
+
### Data Fields
|
| 122 |
+
|
| 123 |
+
**data_{percentage}p_TRAINING.tsv.gz**: [ADD SUMMARY HERE + descriptions of columns below]
|
| 124 |
+
- `id_1`:
|
| 125 |
+
- `id_2`:
|
| 126 |
+
- `maxIC`: Ontology based measure
|
| 127 |
+
- `jaccard`: Ontology based measure
|
| 128 |
+
- `simGIC`: Ontology based measure
|
| 129 |
+
- `order`: Pairwise score indices
|
| 130 |
+
- `character_1`:
|
| 131 |
+
- `desc_1`: Textual trait description.
|
| 132 |
+
- `character_2`:
|
| 133 |
+
- `desc_2`: Textual trait description.
|
| 134 |
+
[More Information Needed]
|
| 135 |
+
<!--
|
| 136 |
+
Describe the types of the data files or the columns in a CSV with metadata.
|
| 137 |
+
|
| 138 |
+
Ex:
|
| 139 |
+
**metadata.csv**:
|
| 140 |
+
- `img_id`: Unique identifier for the dataset.
|
| 141 |
+
- `specimen_id`: ID of specimen in the image, provided by museum data source. There are multiple images of a single specimen.
|
| 142 |
+
- `species`: Species of the specimen in the image. There are N different species of <genus> of <animal>.
|
| 143 |
+
- `view`: View of the specimen in the image (e.g., `ventral` or `dorsal` OR `top` or `bottom`, etc.; specify options where reasonable).
|
| 144 |
+
- `file_name`: Relative path to image from the root of the directory (`<species>/<img_id>.png`); allows for image to be displayed in the dataset viewer alongside its associated metadata.
|
| 145 |
+
-->
|
| 146 |
+
|
| 147 |
+
### Data Splits
|
| 148 |
+
|
| 149 |
+
None. Split is determined by the user. [NEEDS UPDATING to reflect change to train/test split]
|
| 150 |
+
|
| 151 |
+
## Dataset Creation
|
| 152 |
+
|
| 153 |
+
### Curation Rationale
|
| 154 |
+
[More Information Needed]
|
| 155 |
+
<!-- Motivation for the creation of this dataset. For instance, what you intended to study and why that required curation of a new dataset (or if it's newly collected data and why the data was collected (intended use)), etc. -->
|
| 156 |
+
|
| 157 |
+
### Source Data
|
| 158 |
+
Data was collected from the [Phenoscape Knowledgebase](https://kb.phenoscape.org/).
|
| 159 |
+
<!-- This section describes the source data (e.g., news text and headlines, social media posts, translated sentences, ...). As well as an original source it was created from (e.g., sampling from Zenodo records, compiling images from different aggregators, etc.) -->
|
| 160 |
+
|
| 161 |
+
#### Data Collection and Processing
|
| 162 |
+
<!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, re-sizing of images, tools and libraries used, etc.
|
| 163 |
+
This is what _you_ did to it following collection from the original source; it will be overall processing if you collected the data initially.
|
| 164 |
+
-->
|
| 165 |
+
|
| 166 |
+
#### Who are the source data producers?
|
| 167 |
+
[More Information Needed]
|
| 168 |
+
<!-- This section describes the people or systems who originally created the data.
|
| 169 |
+
|
| 170 |
+
Ex: This dataset is a collection of images taken of the butterfly collection housed at the Ohio State University Museum of Biological Diversity. The associated labels and metadata are the information provided with the collection from biologists that study butterflies and supplied the specimens to the museum.
|
| 171 |
+
-->
|
| 172 |
+
|
| 173 |
+
|
| 174 |
+
### Annotations
|
| 175 |
+
<!--
|
| 176 |
+
If the dataset contains annotations which are not part of the initial data collection, use this section to describe them.
|
| 177 |
+
|
| 178 |
+
Ex: We standardized the taxonomic labels provided by the various data sources to conform to a uniform 7-rank Linnean structure. (Then, under annotation process, describe how this was done: Our sources used different names for the same kingdom (both _Animalia_ and _Metazoa_), so we chose one for all (_Animalia_). -->
|
| 179 |
+
|
| 180 |
+
#### Annotation process
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
<!-- This section describes the annotation process such as annotation tools used, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
|
| 183 |
+
|
| 184 |
+
#### Who are the annotators?
|
| 185 |
+
[More Information Needed]
|
| 186 |
+
<!-- This section describes the people or systems who created the annotations. -->
|
| 187 |
+
|
| 188 |
+
### Personal and Sensitive Information
|
| 189 |
+
|
| 190 |
+
None
|
| 191 |
+
|
| 192 |
+
## Considerations for Using the Data
|
| 193 |
+
The distribution of SimGIC scores is skewed towards smaller values. This imbalance may cause the similarity of embeddings to follow the same bias. Consider subsampling to ensure uniform representation of distances.
|
| 194 |
+
|
| 195 |
+
### Bias, Risks, and Limitations
|
| 196 |
+
This dataset has the biases of the Phenoscape ontology. This means the estimated models embeddings will inherit the ontology's inductive biases, coverage gaps, and evolving definitions. Biological conclusions may differ under alternative metrics (e.g., [Resnik](ADD LINK)) or other phenotype ontologies.
|
| 197 |
+
|
| 198 |
+
## Licensing Information
|
| 199 |
+
This dataset is dedicated to the public domain for the benefit of scientific pursuits. We ask that you cite the dataset and original source data using the below citations if you make use of it in your research.
|
| 200 |
+
|
| 201 |
+
[CHECK THIS]
|
| 202 |
+
|
| 203 |
+
## Citation
|
| 204 |
+
|
| 205 |
+
We ask that you cite the dataset and original source data using the below citations if you make use of it in your research.
|
| 206 |
+
|
| 207 |
+
**Data**
|
| 208 |
+
```
|
| 209 |
+
@misc{char-sim-data-2025,
|
| 210 |
+
author = {Jim Balhoff and Soumyashree Kar and Juan Garcia and Hilmar Lapp},
|
| 211 |
+
title = {Character Similarity Dataset},
|
| 212 |
+
year = {2025},
|
| 213 |
+
url = {https://huggingface.co/datasets/imageomics/char-sim-data},
|
| 214 |
+
doi = {<doi once generated>},
|
| 215 |
+
publisher = {Hugging Face}
|
| 216 |
+
}
|
| 217 |
+
```
|
| 218 |
+
<!--
|
| 219 |
+
-for an associated paper:
|
| 220 |
+
**Paper**
|
| 221 |
+
```
|
| 222 |
+
@article{<ref_code>,
|
| 223 |
+
title = {<title>},
|
| 224 |
+
author = {<author1 and author2>},
|
| 225 |
+
journal = {<journal_name>},
|
| 226 |
+
year = <year>,
|
| 227 |
+
url = {<DOI_URL>},
|
| 228 |
+
doi = {<DOI>}
|
| 229 |
+
}
|
| 230 |
+
```
|
| 231 |
+
-->
|
| 232 |
+
|
| 233 |
+
Please be sure to also cite the original data source:
|
| 234 |
+
|
| 235 |
+
```bibtext
|
| 236 |
+
ADD Phenoscape Knowledgebase citation HERE
|
| 237 |
+
```
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
## Acknowledgements
|
| 241 |
+
|
| 242 |
+
This work was supported by the [Imageomics Institute](https://imageomics.org), which is funded by the US National Science Foundation's Harnessing the Data Revolution (HDR) program under [Award #2118240](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2118240) (Imageomics: A New Frontier of Biological Information Powered by Knowledge-Guided Machine Learning). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.
|
| 243 |
+
|
| 244 |
+
<!-- You may also want to credit the source of your data, i.e., if you went to a museum or nature preserve to collect it. -->
|
| 245 |
+
|
| 246 |
+
## Dataset Card Authors
|
| 247 |
+
|
| 248 |
+
Juan Garcia, Jim Balhoff, and Elizabeth Campolongo
|
| 249 |
+
|
| 250 |
+
## Dataset Card Contact
|
| 251 |
+
|
| 252 |
+
Please open a [Discussion on the Community Tab](https://huggingface.co/datasets/imageomics/char-sim-data/discussions) with any questions on the dataset.
|