https://github.com/machinelearningnuremberg/deeprankingensembles
[ICLR 2023] Deep Ranking Ensembles for Hyperparameter Optimization
https://github.com/machinelearningnuremberg/deeprankingensembles
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.4%) to scientific vocabulary
Keywords
Repository
[ICLR 2023] Deep Ranking Ensembles for Hyperparameter Optimization
Basic Info
Statistics
- Stars: 13
- Watchers: 3
- Forks: 1
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
Deep Ranking Ensembles
Repository for Deep Ranking Ensembles for Hyperparameter Optimization (paper accepted at ICLR 2023).
Setup
Environment Setup
- Install anaconda/miniconda according to the Installation Instructions.
- Clone this repository into a folder.
git clone --recurse-submodules <url> ./repo - Go inside the
repofolder.cd repo - Create the required conda environment.
conda env create --file linux_environment.yml - If the environment is already created, update it using the command
conda env update --file linux_environment.yml --prune. - This creates a conda environment called
DRE. Activate the conda environment using commandconda activate DRE. - After activating
DREenvironment, display the script usage help message using commandpython DRE.py -h. - Please download the data as described in the next section before running the
DRE.pyscript.
Data Download
- Download the HPO_B data from HERE. A file named
hpob-data.zipwill be downloaded. - Extract
hpob-data.zipto the location./repo/HPO_B/hpob-data/. Here the./repo/HPO_Bfolder is the location where the HPO_B submodule is cloned. - After successful extraction, all the required files (in the json format) will be present in the
./repo/HPO_B/hpob-data/folder. - The extracted files should be in the following folder structure:
repoHPO_Bhpob-databo-initializations.jsonmeta-test-dataset.jsonmeta-test-tasks-per-space.json(This file is present in the folder by default)meta-train-dataset-augmented.jsonmeta-train-dataset.jsonmeta-validation-dataset.json
Example command
- To train & evaluate the DeepRankingSurrogate, you can run the following commands chronologically.
python DRE.py --train --train_index 0 --meta_features --M 10 --layers 4 --result_folder ./results_M10/. After running this, a file named '4796' which is the search space ID corresponding to index 0 is created in the./results_M10folder. Please check the next section.python DRE.py --evaluate --eval_index 0 --meta_features --M 10 --layers 4 --result_folder ./results_M10/. After running this, a file namedEVAL_KEY_0will be created in the./results_M10folder.
- Please make sure that the architecture and the result folder for the training and evaluation is identical.
Index Table
The following table shows the train_index and eval_index corresponding to each search space in the hpob_data. Each train_index refers to a single Search Space ID. On the other hand, each Search Space has a range of evaluation indices. The set of all evaluation indices of a search space is given by the cross product: {Set containing the IDs of all Datasets of the search space} X {Set containing random seeds used to start the BO iteration}. For example eval_index = 0 corresponds to ('4796', '23','test0').
| Search Space ID | Train Index | Eval Index | | :-----------: | :---------: | :---------: | | 4796 | 0 | 0 - 19 | | 5527 | 1 | 20 - 49 | | 5636 | 2 | 50 - 79 | | 5859 | 3 | 80 - 109 | | 5860 | 4 | 110 - 124 | | 5889 | 5 | 125 - 134 | | 5891 | 6 | 135 - 164 | | 5906 | 7 | 165 - 174 | | 5965 | 8 | 175 - 209 | | 5970 | 9 | 210 - 239 | | 5971 | 10 | 240 - 269 | | 6766 | 11 | 270 - 299 | | 6767 | 12 | 300 - 329 | | 6794 | 13 | 330 - 359 | | 7607 | 14 | 360 - 394 | | 7609 | 15 | 395 - 429 |
Citation
You can cite our work as follows:
bib
@inproceedings{
khazi2023deep,
title={Deep Ranking Ensembles for Hyperparameter Optimization},
author={Abdus Salam Khazi and Sebastian Pineda Arango and Josif Grabocka},
booktitle={The Eleventh International Conference on Learning Representations },
year={2023},
url={https://openreview.net/forum?id=_ruvo2KCL2x}
}
Owner
- Name: ML Nuremberg
- Login: machinelearningnuremberg
- Kind: organization
- Location: Germany
- Website: https://www.utn.de/departments/department-engineering/machine-learning-lab/
- Repositories: 1
- Profile: https://github.com/machinelearningnuremberg
Machine Learning Lab @ University of Technology Nuremberg
GitHub Events
Total
- Watch event: 3
Last Year
- Watch event: 3