# Microcolony Domain Adaptation: Phase Contrast Microscopy of Six Foodborne Bacteria under Shifted Imaging Conditions

## Facts

- Provider: Bhattacharya, Wasit, Earles, Nitin and Yi (Food AI Nexus)
- License: CC-BY-4.0 (https://huggingface.co/datasets/food-ai-nexus/microcolony-domain-adaptation)
- Size: 1,205 files
- Format: JPEG, JSON Lines (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/food-ai-nexus/microcolony-domain-adaptation
- Access: public, readable without an account
- Category: Health & Biomedical
- Source: https://huggingface.co/datasets/food-ai-nexus/microcolony-domain-adaptation
- Page: https://scigantic.com/archive/dcb8834c-830d-5767-ae45-0fecc4bf2846
- Keywords: Health & Biomedical, JPEG, JSON Lines, Hugging Face

## About

Microscopy images of bacterial microcolonies from six species, Bacillus coagulans, Bacillus subtilis, Escherichia coli 1612, Listeria innocua, Salmonella enterica Enteritidis and Salmonella enterica Typhimurium, built to test classifiers when optical and biological conditions change. Released with Bhattacharya, Wasit, Earles, Nitin and Yi (2025), Frontiers in Artificial Intelligence, on adversarial domain adaptation for AI microscopy. The source domain is standard phase contrast at 60x after 3 h incubation (train, 539 images; test_standard, 90 held-out images); target domains vary objective, incubation time and imaging modality (train_fewshot, 150 labeled images for few-shot adaptation; test_ood, 420 out-of-distribution images). Images are JPEG in class subfolders with JSONL metadata per split, about 130 MB in total, and load with datasets.load_dataset. Supports domain adaptation, few-shot learning and robustness benchmarking for rapid detection of foodborne pathogens. Licensed CC BY 4.0 by the authors; cite the Frontiers paper.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("food-ai-nexus/microcolony-domain-adaptation")
print(ds)
```

## Data structure

File types in sampled files: JPEG, JSON Lines

Example file: `test_ood/metadata.jsonl`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/dcb8834c-830d-5767-ae45-0fecc4bf2846
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/dcb8834c-830d-5767-ae45-0fecc4bf2846
- Over MCP: `get_schema_card` with id `dcb8834c-830d-5767-ae45-0fecc4bf2846` at https://api.scigantic.com/mcp

## Related topics

- [Health & Biomedical datasets](https://scigantic.com/topics/health-and-biomedical)
- [JPEG datasets](https://scigantic.com/topics/jpeg)
- [JSON Lines datasets](https://scigantic.com/topics/json-lines)
