fishy.analysis.biomarker¶
Automated Biomarker Discovery module.
This module maps high-importance m/z values (from XAI) to chemical entities using public databases (LipidMaps).
Classes
- class fishy.analysis.biomarker.AutomatedBiomarkerDiscovery(m_z_values: List[float])[source]¶
Bases:
objectConnects XAI results to chemical databases for automated biomarker identification.
- __init__(m_z_values: List[float]) None[source]¶
- Parameters:
m_z_values (List[float]) – List of m/z values corresponding to the input features.
- generate_report(biomarker_results: List[Dict[str, Any]]) str[source]¶
Formats the discovery results into a readable string.
Functions
- fishy.analysis.biomarker.run_biomarker_pipeline(model, data_loader, feature_names, device, top_n=5)[source]¶
Complete flow: Model -> Grad-CAM -> Top Peaks -> Chemical Identity
s