Giter Club home page Giter Club logo

jahs_bench_201_experiments's Introduction

JAHS-Bench-201 Experiments

Installation

Clone this repository:

git clone https://github.com/automl/jahs_bench_201_experiments.git
cd jahs_bench_201_experiments

Install JAHS-Bench-201 using pip:

pip install git+https://github.com/automl/jahs_bench_201.git

Install this repository using pip:

pip install .

Download the surrogates:

python -m jahs_bench.download --target surrogates

Experiments

First research question

To reproduce results for JAHS, run:

python jahs_bench_201_experiments/tasks/run_model_free.py --dataset DATASET --seed SEED --fidelity None

where DATASET may be one of cifar10, colorectal_histology, fashion_mnist.

Append --use_default_hps or --use_default_arch for NAS-only or HPO-only, respectively.

Second research question

To reproduce results, run:

python jahs_bench_201_experiments/tasks/run_model_free.py --dataset DATASET --seed SEED --fidelity FIDELITY --min_budget MIN_BUDGET --max_budget MAX_BUDGET

where FIDELITY may be one of Epochs, N, W, Resolution and DATASET may be one of cifar10, colorectal_histology, fashion_mnist.

Leaderboard

We provide a script for SLURM-job submission for all leaderboard entries, before running:

bash jahs_bench_201_experiments/tasks/run_all.sh

NOTE: please adjust the user-specific paths in startup.sh and run_all.sh

Analysis

To reproduce plots from Section 4:

python jahs_bench_201_experiments/analysis/analysis.py

To reproduce Table 4 and 5:

python jahs_bench_201_experiments/analysis/compare_runtime.py

NOTE: this command requires all data.

To generate leaderboard:

python jahs_bench_201_experiments/analysis/leaderboard.py

NOTE: this command requires all data.

Repository structure:

jahs_bench_201_experiments          # This repository
├── jahs_bench_201_data             # To be downloaded
├── jahs_bench_201_plots            # Created upon regenerating plots
├── jahs_bench_201_results          # Created upon running any task
├── jahs_bench_201_experiments
│   ├── analysis                    # Scipts for results analysis
│   ├── tasks                       # Scipts for results geneartion
│   │   │── ...
│   │   │── run_all.sh              # Script submitting SLURM array job
│   │   │── run_model_free.py       # Main task script (model-free)
│   │   │── run_model_based.py      # Main task script (model-based)
│   ├── utils

jahs_bench_201_experiments's People

Contributors

dastoll avatar neochaos12 avatar worstseed avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.