Code for emergent symbolic classification
git clone https://github.com/AriChow/EL.git
pip install -e EL/
Download CheXpert data from here
https://stanfordmlgroup.github.io/competitions/chexpert/
- Update
EL/EL/CONSTS.py
with the locations on your machine. - Run
EL/EL/annotations.py
to setup training and validation data. - Update paths in
EL/EL/annotations.py
to obtain test annotations.
- Train baseline model using
EL/EL/runs/train_chexpert.py
- Train EL model using
EL/EL/runs/train_chexpert_EL.py
- Test baseline model using
EL/EL/runs/train_chexpert.py
by modifying
data loader and commenting out training loop. - Test EL model using
EL/EL/runs/test_chexpert.py