Use when after training a MEISTER deep learning reconstruction model on mass spectrometry data, you must validate performance on independent test sets before applying the model to new experimental or clinical samples.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add HolobiomicsLab/asb-skill-collections --skill model-validation-and-performance-evaluation --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Model Validation And Performance Evaluation?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/holobiomicslab-model-validation-and-performance-evaluation-asb-skill-collections)More formats (shields.io, HTML) on the badges page.
---
name: model-validation-and-performance-evaluation
description: Use when after training a MEISTER deep learning reconstruction model on mass spectrometry data, you must validate performance on independent test sets before applying the model to new experimental or clinical samples.
license: CC-BY-4.0
metadata:
edam_operation: http://edamontology.org/operation_3435
edam_topics:
- http://edamontology.org/topic_0121
- http://edamontology.org/topic_3379
- http://edamontology.org/topic_3520
tools:
- MEISTER
- multiscale_analysis
techniques:
- MS-imaging
derived_from:
- doi: 10.1038/s41592-024-02171-3
title: MEISTER
evidence_spans:
- github.com/richardxie1119/MEISTER
claims: []
provenance:
collection: https://w3id.org/holobiomicslab/asb-skill/collection/metabolomics/v2
assembled_by: scripts/collect_metabolomics_collection.py
sources:
- build: coll_meister_cq
doi: 10.1038/s41592-024-02171-3
title: MEISTER
dedup_kept_from: coll_meister_cq
schema_version: 0.2.0
attribution:
generator: AgenticScienceBuilder
original_doi: 10.1038/s41592-024-02171-3
all_source_dois:
- 10.1038/s41592-024-02171-3
zenodo_doi: 10.5281/zenodo.20794027
curators: []
promoter: Louis-Félix Nothias
sponsor: CNRS & Université Côte d'Azur
---
# model-validation-and-performance-evaluation
## Summary
Evaluate trained deep learning reconstruction models on held-out test data and simulated or experimental mass spectrometry datasets using reconstruction accuracy, loss metrics, and comparative benchmarks. This skill ensures the MEISTER model generalizes beyond training data and produces biochemically meaningful reconstructions for multiscale tissue and single-cell mass spectrometry analysis.
## When to use
After training a MEISTER deep learning reconstruction model on mass spectrometry data, you must validate performance on independent test sets before applying the model to new experimental or clinical samples. Validation is critical when transitioning from training on one acquisition protocol (e.g., high-resolution MSI) to deployment on different sample types (e.g., low mass resolution serial sections or single-cell MS data) or when assessing whether reconstruction artifacts or loss thresholds are acceptable for downstream biological interpretation.
## When NOT to use
- Input data has already been validated against an independent reference—reapplying evaluation may introduce circular reasoning or overfit metrics.
- Model has not been trained on a representative training partition; evaluation on the same data used for training will yield inflated performance estimates.
- You lack access to ground truth or reference mass spectrometry data (e.g., high-resolution reference spectra) needed to compute accuracy metrics; in such cases, only qualitative biological coherence checks are possible.
## Inputs
- raw mass spectrometry transient files (.d folder with Bruker format)
- preprocessed feature matrices or peak data (imzML or h5 format)
- test set partition of mass spectrometry data
- trained model weights (decoder and regressor checkpoints)
## Outputs
- reconstruction loss or accuracy metrics (scalar or per-pixel/per-sample)
- reconstructed peak data (imzML format) or decoded feature matrices (h5 format)
- validation performance report or plots
- model evaluation artifacts (e.g., residual images, confusion matrices)
## How to apply
Partition mass spectrometry data into training and held-out test sets prior to model initialization. Train the MEISTER reconstruction model (decoder and regressor) on the training partition using the provided training pipeline. Evaluate the trained model on test data by computing reconstruction loss (e.g., mean squared error) and accuracy metrics; the README references MEISTER_eval.ipynb for experimental datasets and MEISTER_simulation.ipynb for controlled benchmarks on synthetic MSI data. Compare reconstructed peak data (imzML format) or decoded feature matrices (h5 format) against ground truth or reference measurements to quantify fidelity. Document model weights, validation metrics, and any failure modes (e.g., artifacts in low-abundance regions) before proceeding to multiscale integrative analysis or single-cell mapping tasks.
## Related tools
- **MEISTER** (deep learning reconstruction framework whose trained model is evaluated on test data using reconstruction loss and accuracy metrics) — https://github.com/richardxie1119/MEISTER
- **multiscale_analysis** (repository containing MEISTER_eval.ipynb and MEISTER_simulation.ipynb notebooks for systematic model validation on experimental and simulated MSI datasets) — https://github.com/richardxie1119/multiscale_analysis
## Examples
```
# From the multiscale_analysis repository:
# Evaluate trained model on experimental MSI data
jupyter notebook MEISTER_eval.ipynb
# Or on simulated data for controlled benchmarking:
jupyter notebook MEISTER_simulation.ipynb
```
## Evaluation signals
- Reconstruction loss (e.g., MSE) on test set is lower than on training set or within an acceptable threshold; significant divergence suggests overfitting.
- Reconstructed peak data in imzML or h5 format matches the spatial and intensity structure of ground truth reference data, confirmed by visual inspection or spectral correlation metrics.
- Model evaluation notebooks (MEISTER_eval.ipynb on experimental data, MEISTER_simulation.ipynb on synthetic data) run without errors and produce coherent performance plots or heatmaps.
- Validation metrics are reproducible across independent random seeds and test set partitions; high variance suggests unstable model generalization.
- Downstream multiscale analysis tasks (e.g., tissue-cell mapping, brain regional registration) produce biologically coherent results when fed the reconstructed data, indicating acceptable reconstruction fidelity for interpretation.
## Limitations
- The README notes 'We are expanding our code documentations to make it friendly', suggesting that evaluation workflows and hyperparameter tuning guidance may be incomplete or subject to change.
- Validation performance is data-dependent; models trained on high-resolution MSI may not generalize to low mass resolution serial sections without retraining or domain adaptation.
- Reconstruction accuracy metrics (loss, R² etc.) do not directly measure biological validity; a model with low loss may still produce artifacts that mislead downstream biochemical interpretation.
## Evidence
- [other] Evaluate the trained model on held-out test data, computing reconstruction accuracy or loss metrics.: "Evaluate the trained model on held-out test data, computing reconstruction accuracy or loss metrics."
- [readme] The Notebooks for the multifaceted data analysis can be found [here], including MEISTER_eval.ipynb for evaluation of MEISTER models on experimental MSI data sets and MEISTER_simulation.ipynb for evaluation on simulated MSI data sets.: "MEISTER_eval.ipynb | Evaluation of MEISTER models on experimental MSI data sets. | MEISTER_simulation.ipynb | Evaluation of MEISTER models on simulated MSI data sets."
- [readme] The complete computational protocol for reconstruction and downstream multiscale data analysis can be found in the online Supplementary Information.: "The complete computational protocol for reconstruction and downstream multiscale data analysis can be found in the online Supplementary Information"
- [readme] saved_model.zip: trained model weights (decoder and regressor) on high-resolution MSI data used in the manuscript.: "saved_model.zip: trained model weights (decoder and regressor) on high-resolution MSI data used in the manuscript."
- [other] MEISTER implements deep learning reconstruction as a component that processes mass spectrometry data to enable multiscale and integrative analysis of both tissue and single-cell samples.: "MEISTER implements deep learning reconstruction as a component that processes mass spectrometry data to enable multiscale and integrative analysis of both tissue and single-cell samples."
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!