π Overview
FUNGI-MYCEL is an open-source, multi-parameter framework for the quantitative characterization of mycelial network intelligence β the Mycelial Network Intelligence Score (MNIS). The system integrates eight orthogonal bio-physical indicators validated across 2,648 mycelial network units from 39 protected forest sites spanning 5 biomes over a 19-year observational period (2007β2026).
FUNGI-MYCEL achieves 91.8% MNIS classification accuracy with 94.3% stress detection rate. The framework provides 42-day early warning for network stress events and quantifies mycelial carbon weathering at 0.8β1.4 t CΒ·haβ»ΒΉΒ·yearβ»ΒΉ.
Key Capabilities
- High Accuracy: 91.8% MNIS classification across 39-site cross-validation
- Stress Detection: 94.3% detection rate with 4.2% false alert rate
- Early Warning: 42-day mean lead time before above-ground symptom expression
- Bioelectrical Analysis: Ο_e parameter captures electrical spike train patterns at 0.5β10 mm/s propagation
- Network Topology: K_topo fractal dimension (1.35β1.95) with r=+0.917 correlation to electrical activity
- Carbon Accounting: 0.8β1.4 t CΒ·haβ»ΒΉΒ·yearβ»ΒΉ mycelial weathering, missing from current carbon frameworks
System Statistics
MNIS Accuracy
39-site cross-validation
Dataset
Mycelial Network Units
Sites/Biomes
Protected forests Β· 5 biomes
Early Warning
Before above-ground symptoms
Quick Navigation
π» Installation
System Requirements
- Python: 3.8 or higher (3.10+ recommended)
- PyTorch: 1.10+ optional (for AI ensemble)
- RAM: 8 GB minimum (16 GB recommended for full dataset)
- Storage: ~2 GB for reference database and biome thresholds; 48 GB for full validation dataset
- CUDA: 11.0+ optional (GPU acceleration for CNN/LSTM models)
- Microelectrode hardware: For field Ο_e recordings (optional)
Install from PyPI
Install from GitLab
Docker
The full validation dataset (48 GB) requires additional storage for metagenomics and genomics archives. The 2 GB reference package is sufficient for most applications.
π Quick Start
Compute a Single Parameter
Assemble the MNIS Index
Classify and Generate Report
1 Β· Compute Ο_e from Electrode Data
2 Β· Compute the MNIS Composite Index
3 Β· Stress Early Warning
π¬ The Eight MNIS Parameters
Each parameter captures a physically orthogonal dimension of mycelial network intelligence. Weights were determined through a three-stage Bayesian analysis and Delphi consensus with 22 mycologists across 14 institutions.
| # | Symbol | Parameter | Weight | Domain | Key Instrument |
|---|---|---|---|---|---|
| 1 | Ξ·_NW | Natural Weathering Efficiency | 18% | Geochemistry | ICP-MS |
| 2 | Ο_e | Bioelectrical Pulse Density | 18% | Bioelectricity | Microelectrode arrays |
| 3 | βC | Chemotropic Navigation | 14% | Biophysics | Confocal microscopy |
| 4 | SER | Symbiotic Exchange Ratio | 12% | Mycorrhizal Ecology | ΒΉΒ³C/Β³ΒΉP isotope tracing |
| 5 | K_topo | Topological Expansion | 10% | Fractal Geometry | Confocal + box-counting |
| 6 | E_a | Adaptive Resilience | 16% | Stress Physiology | Growth under stress |
| 7 | ABI | Biodiversity Amplification | 7% | Microbial Ecology | 16S eDNA metabarcoding |
| 8 | BFS | Biological Field Stability | 5% | Systems Dynamics | MNIS time series CV |
Composite Formula
All parameters are normalized to [0,1] relative to biome-specific reference thresholds, not global minima/maxima. This ensures that a boreal conifer network and a tropical montane network are evaluated against their own reference states.
π MNIS Classification Levels
The MNIS score is mapped to five operational classification levels that guide intervention priority, conservation assessment, and mycelial network health tracking.
< 0.25
0.25 β 0.44
0.44 β 0.62
0.62 β 0.80
> 0.80
| Class | MNIS Range | Network State | Recommended Action |
|---|---|---|---|
| EXCELLENT | < 0.25 | Intact primeval network, maximum bioelectrical activity | Passive protection, reference monitoring |
| GOOD | 0.25 β 0.44 | Near-reference, functional, self-regulating resilience intact | Standard monitoring, adaptive management |
| MODERATE | 0.44 β 0.62 | Measurable stress, reduced electrical activity | Enhanced monitoring, possible intervention |
| CRITICAL | 0.62 β 0.80 | Significant functional loss, high tipping point risk | Immediate intensive intervention required |
| COLLAPSE | > 0.80 | Network collapse, alternative stable state | Emergency response, full characterization |
π§ AI Ensemble Architecture
The AI ensemble combines three models into a unified predictor achieving 91.8% MNIS accuracy.
Architecture Overview
| Model | Input | Architecture | Weight |
|---|---|---|---|
| CNN-1D | Raw electrode data (time Γ electrodes) | 3-layer 1D CNN | 0.38 |
| XGBoost | 8 tabular parameters | Gradient boosting | 0.32 |
| LSTM | Time series history (50 steps) | 2-layer LSTM | 0.30 |
Performance
Training Time
4Γ NVIDIA T4
Inference
Per MNU
Accuracy Gain
vs. single-parameter
The ensemble achieves 91.8% accuracy on held-out test data, 12.2% improvement over single-parameter Ο_e prediction (79.6%). SHAP analysis confirms Ο_e and K_topo as the most influential parameters.
π‘ API Reference
fungi_mycel.parameters β Individual Parameter Modules
All eight parameter classes share a common interface:
fungi_mycel.core β MNIS Composite Engine
fungi_mycel.models β AI Ensemble
fungi_mycel.alerts β Stress Early Warning
fungi_mycel.cli β Command Line Interface
βοΈ Snakemake Workflows
All analyses are reproducible via Snakemake. The master pipeline automatically determines which rules to run based on available inputs.
Run Full Validation Pipeline
Available Rules
| Rule File | Description | Inputs | Outputs |
|---|---|---|---|
| preprocessing.smk | Electrode, confocal, metagenomic preprocessing | data/raw/ | data/processed/ |
| parameter_computation.smk | Compute all 8 parameter scores per MNU | data/processed/ | data/processed/parameters/ |
| mnis_aggregation.smk | Normalize and aggregate MNIS index | data/processed/parameters/ | data/processed/mnis_scores/ |
| ensemble_training.smk | Train AI ensemble models | data/processed/ | models/ + results/ |
| validation.smk | Cross-validation, sensitivity, uncertainty | data/processed/mnis_scores/ | results/validation/ |
ποΈ Data & Formats
Supported Input Formats
| Parameter | Format | Source | Typical Size |
|---|---|---|---|
| Ξ·_NW | ICP-MS CSV / JSON | Lab measurements | <1 MB per sample |
| Ο_e | NPY / HDF5 / CSV | Microelectrode arrays | 10β500 MB per recording |
| βC | CSV trajectory + TIFF | Confocal microscopy | 50β200 MB per stack |
| SER | CSV isotope ratios | IRMS + Β³ΒΉP tracer | <1 MB per sample |
| K_topo | TIFF / PNG | Confocal / SEM | 5β100 MB per image |
| E_a | CSV growth rates | Time-lapse microscopy | <1 MB per experiment |
| ABI | FASTA / FASTQ | 16S eDNA sequencing | 10β500 MB per sample |
| BFS | CSV time series | MNIS history | <1 MB per site/year |
Output Formats
π Applications
Forest Conservation & Management
MNIS provides 42-day early warning of network stress, enabling preventive intervention before above-ground symptoms appear. Pre-harvest assessment predicts post-harvest recovery trajectories with 40β60% improved accuracy.
Mycorrhizal Inoculation Optimization
Ξ·_NW and βC parameters provide pre-inoculation site characterization predicting inoculation success with 78% accuracy, enabling species selection informed by soil chemistry and existing microbial community composition.
Carbon Credit Quantification
Ξ·_NW-based estimate of mycelial COβ sequestration through mineral weathering: 0.8β1.4 t CΒ·haβ»ΒΉΒ·yearβ»ΒΉ at intact temperate broadleaf sites. This provides the scientific foundation for a novel mycorrhizal carbon credit methodology.
β Validation & Reproducibility
Cross-Validation Protocol
FUNGI-MYCEL uses leave-one-site-out cross-validation across all 39 sites. This eliminates temporal autocorrelation within sites and tests generalization across entirely unseen locations.
MNIS Accuracy
39-site cross-validation
Stress Detection
True positive rate
False Alert Rate
False positive rate
Early Warning
Mean lead time
Reproducing All Results
π Changelog
Mar 2026
Initial Release
Full eight-parameter MNIS framework, AI ensemble, validated across 2,648 MNUs from 39 sites across 5 biomes. Paper submitted to Nature Microbiology.
Feb 2026
Beta Release
Complete parameter suite, Bayesian weight determination, tipping-point detection module. Validation across 1,847 MNUs from 28 sites.
Dec 2025
Alpha β Core Framework
Three-parameter prototype (Ο_e, K_topo, Ξ·_NW) functional on 847 MNUs from 12 sites.
π Publications
If you use FUNGI-MYCEL in your research, please cite the primary paper using the BibTeX entry below.
- Baladi, S. (2026). FUNGI-MYCEL Framework β Nature Microbiology. DOI: 10.14293/FUNGI-MYCEL.2026.001
- FUNGI-MYCEL Validation Dataset v1.0 β Zenodo. DOI: 10.5281/zenodo.fungi-mycel.2026
- Preprint: Bioelectrical Pulse Density as 42-Day Early Warning Indicator β GitLab
- Preprint: Fractal Topology Encodes Bioelectrical Activity (r=+0.917) β GitLab
π Acknowledgments
The FUNGI-MYCEL framework builds upon the foundational work of the global mycological and bioelectrophysiology community. Special thanks to:
- The 39 protected area site managers whose forest monitoring infrastructure made this research possible
- The SΓ‘mi reindeer herding communities and Satoyama community forest managers of Honshu for integrating traditional ecological knowledge
- The US Forest Service Malheur NF research station for facilitated access to the Oregon Armillaria site
- Andrew Adamatzky (University of the West of England) for foundational research on fungal bioelectricity
- Suzanne Simard (University of British Columbia) for Wood Wide Web network research
- The UNITE, GBIF, and Global Mycorrhizal Network open-data initiatives
- The Ronin Institute for supporting independent scholarship
This research is dedicated to all organisms with no brain, no eyes, and no voice β who nonetheless know exactly what they are doing.