Datasets:
Update description to align with renaming for workflow order
Browse files14 unmodified lines15161718192021229 unmodified lines323334353637383940414254 unmodified lines97989910010110210314 unmodified lines"source": ["## Summary\n","\n","We explored our downloaded images in `EDA-DL-0-3.ipynb`, and established the following causes of duplication along with remedies:\n","1. The \"patch\" record (record 3477891) which required alignment in `record_3477891_media_occurrence.ipynb`, resulting in `Jiggins_Zenodo_Img_Master_3477891Patch.csv` used for download, is a duplication of all listed records. Additionally, it introduced extra copies of 4 images with incorrect labels for their views (i.e., dorsal vs ventral).\n"," - Solution: This record will be removed.\n","2. The remaining duplication (430 images x2) comes from 5 records: [4291095](https://zenodo.org/records/4291095), [2813153](https://zenodo.org/records/2813153), [5526257](https://zenodo.org/records/5526257), [2553977](https://zenodo.org/records/2553977), and [2552371](https://zenodo.org/records/2552371).\n"," - Though there is nothing in their descriptions on Zenodo to indicate this overlap occurred, record 4291095 duplicated 415 images from record 2813153. 104 of these images had their view/side labels (dorsal vs ventral) updated to reflect an earlier mislabeling in record 2813153; these were all RAW copies of the images. All other metadata was consistent across records.\n",9 unmodified lines" 3. Reduce to only unique `CAMID`s.\n"," 4. Generate splits as desired.\n"," 5. Add images to splits based on matched `CAMID`s if multiple views are desired (i.e., if a `CAMID` is present in the dorsal training, add the matching ventral image to the training set).\n","\n","\n","## Generate \"Clean\" Master Metadata File\n","\n","We'll now generate a cleaned master metadata file from `metadata/Jiggins_Zenodo_Img_Master_3477891Patch_downloaded.csv` (generated in `notebooks/EDA_full_jiggins_DL.ipynb` from our download master file and checksums of successful downloads) following the solutions outlined above. "]},{54 unmodified lines}],"source": ["df = pd.read_csv(\"../metadata/Jiggins_Zenodo_Img_Master_3477891Patch_downloaded.csv\", low_memory = False)\n","df[STATS_COLS].info()"]},14 unmodified lines15161718192021229 unmodified lines32333435363738394041424354 unmodified lines989910010110210310414 unmodified lines"source": ["## Summary\n","\n","We explored our downloaded images in `../deduplication_process/notebooks/EDA-DL-0-3.ipynb`, and established the following causes of duplication along with remedies:\n","1. The \"patch\" record (record 3477891) which required alignment in `Data-gen-1-1.ipynb`, resulting in `../deduplication_process/Jiggins_Zenodo_Img_Master_3477891Patch.csv` used for download, is a duplication of all listed records. Additionally, it introduced extra copies of 4 images with incorrect labels for their views (i.e., dorsal vs ventral).\n"," - Solution: This record will be removed.\n","2. The remaining duplication (430 images x2) comes from 5 records: [4291095](https://zenodo.org/records/4291095), [2813153](https://zenodo.org/records/2813153), [5526257](https://zenodo.org/records/5526257), [2553977](https://zenodo.org/records/2553977), and [2552371](https://zenodo.org/records/2552371).\n"," - Though there is nothing in their descriptions on Zenodo to indicate this overlap occurred, record 4291095 duplicated 415 images from record 2813153. 104 of these images had their view/side labels (dorsal vs ventral) updated to reflect an earlier mislabeling in record 2813153; these were all RAW copies of the images. All other metadata was consistent across records.\n",9 unmodified lines" 3. Reduce to only unique `CAMID`s.\n"," 4. Generate splits as desired.\n"," 5. Add images to splits based on matched `CAMID`s if multiple views are desired (i.e., if a `CAMID` is present in the dorsal training, add the matching ventral image to the training set).\n"," 6. Be sure to check only desired categories are included, such as excluding hybrids or cross types, or specimens not labeled to the level of classification.\n","\n","\n","## Generate \"Clean\" Master Metadata File\n","\n","We'll now generate a cleaned master metadata file from `../deduplication_process/metadata/Jiggins_Zenodo_Img_Master_3477891Patch_downloaded.csv` (generated in `../deduplication_process/notebooks/EDA-DL-0-3.ipynb` from our download master file and checksums of successful downloads) following the solutions outlined above. "]},{54 unmodified lines}],"source": ["df = pd.read_csv(\"../deduplication_process/metadata/Jiggins_Zenodo_Img_Master_3477891Patch_downloaded.csv\", low_memory = False)\n","df[STATS_COLS].info()"]},
notebooks/Data-gen-1-2.ipynb+5-4