neural-backed-decision-trees
Making decision trees competitive with neural networks on CIFAR10, CIFAR100, TinyImagenet200, Imagenet
File Explorer
Download Latest Version (.zip)- .gitignore
- api.py
- README.md
- requirements.txt
- run.sh
- resnet18-nbdt.json
- resnet18.json
- resnet50.json
- __init__.py
- nbdt_losses.py
- classy_train.py
- README.md
- load_pretrained_nbdts.ipynb
- nbdt
- nbdt-hierarchy
- nbdt-wnids
- original
- __init__.py
- ade20k.py
- cifar.py
- custom.py
- imagenet.py
- lip.py
- pascal_context.py
- transforms.py
- graph-induced-HRNet-w48.json
- graph-induced-ResNet10.json
- graph-induced-ResNet18.json
- graph-induced-wrn28_10_cifar10.json
- graph-induced.json
- graph-wordnet.json
- graph-induced-ResNet10.json
- graph-induced-ResNet18.json
- graph-induced-wrn28_10_cifar100.json
- graph-induced.json
- graph-wordnet-single.json
- graph-wordnet.json
- graph-induced-HRNet-w18-v1.json
- graph-induced-HRNet-w48.json
- graph-induced-efficientnet_b7b.json
- graph-induced.json
- graph-induced-HRNet-w48-cls20.json
- graph-induced-HRNet-w48-cls59.json
- graph-induced-ResNet18.json
- graph-induced-wrn28_10.json
- graph-induced.json
- graph-wordnet-single.json
- graph-wordnet.json
- __init__.py
- resnet.py
- utils.py
- wideresnet.py
- tree-template.html
- nx.py
- wn.py
- ADE20K.txt
- CIFAR10.txt
- CIFAR100.txt
- Imagenet1000.txt
- LookIntoPerson.txt
- PascalContext.txt
- TinyImagenet200.txt
- __init__.py
- analysis.py
- graph.py
- hierarchy.py
- loss.py
- metrics.py
- model.py
- tree.py
- utils.py
- gen_train_eval_nopretrained.ps1
- gen_train_eval_nopretrained.sh
- gen_train_eval_pretrained.ps1
- gen_train_eval_pretrained.sh
- gen_train_eval_resnet.ps1
- gen_train_eval_resnet.sh
- gen_train_eval_wideresnet.ps1
- gen_train_eval_wideresnet.sh
- generate_hierarchies_wordnet.ps1
- generate_hierarchies_wordnet.sh
- __init__.py
- conftest.py
- test_inference.py
- test_train.py
- .gitignore
- .pylintrc
- LICENSE
- main.py
- MANIFEST.in
- pytest.ini
- README.md
- requirements.txt
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/alvinwan/neural-backed-decision-trees
Downloads the entire project code from GitHub to your computer.
cd neural-backed-decision-trees
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install nbdt
Installs the package published on PyPI directly โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install nbdt
Installs the package published on PyPI directly โ no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
