This is a Python implementation of our paper:
Interpretable machine learning uncovers complex, interacting traits associated with maize yield across diverse environments
- Python 3.8.4
- scikit-learn 1.3.0
- conda
Clone repository:
git clone https://github.com/AIBreeding/XAI.gitCreate environment:
conda create -n GxE python=3.8.4
conda activate GxEInstall packages:
cd GxE
conda install --yes --file requirements.txtFollow the instructions in data directory to get dataset files.
Follow the instructions in model/G2Pmodel to get pre-trained models.
- python Start-AutoHPO.py
- python kfolds.py
- python Start-Basic_model.py
- python stacking.py
- Please execute the XAI.ipynb script