An interactive framework to visualize and analyze your AutoML process in real-time.
Project description
DeepCAVE
DeepCAVE is a visualization and analysis tool for AutoML, with a particular focus on hyperparameter optimization (HPO). Built on the Dash framework, it offers a fully interactive experience. The tool features a variety of plugins that enable efficient insight generation, aiding in understanding and debugging the application of HPO. Additionally, the powerful run interface and the modularized plugin structure allow extending the tool at any time effortlessly.
Installation
First, make sure you have redis-server installed on your computer.
Afterwards, follow the instructions to install DeepCAVE:
conda create -n DeepCAVE python=3.9
conda activate DeepCAVE
conda install -c anaconda swig
pip install DeepCAVE
To load runs created with Optuna or the BOHB optimizer, you need to install the respective packages by running:
pip install deepcave[optuna]
pip install deepcave[bohb]
To try the examples for recording your results in DeepCAVE format, run this after installing:
pip install deepcave[examples]
If you want to contribute to DeepCAVE, use the following steps instead:
git clone https://github.com/automl/DeepCAVE.git
cd DeepCAVE
conda create -n DeepCAVE python=3.9
conda activate DeepCAVE
conda install -c anaconda swig
make install-dev
Please visit the documentation to get further help (e.g. if you cannot install redis server or if you are on MacOS).
Visualizing and Evaluating
The webserver as well as the queue/workers can be started by simply running:
deepcave --open
If you specify --open
your webbrowser automatically opens at http://127.0.0.1:8050/
.
You can find more arguments and information (like using custom configurations) in the
documentation.
Example runs
DeepCAVE comes with some pre-evaluated runs to get a feeling for what DeepCAVE can do.
If you cloned the repository from GitHub via git clone https://github.com/automl/DeepCAVE.git
,
you can try out some examples by exploring the logs
directory inside the DeepCAVE dashboard.
For example, if you navigate to logs/DeepCAVE
, you can view the run mnist_pytorch
if you hit
the +
button left to it.
Features
Interactive Interface
-
Interactive Dashboard:
The dashboard runs in a webbrowser and allows you to self-analyze your optimization runs interactively. -
Run Selection Interface:
Easily select runs from your working directory directly within the interface. -
Integrated Help and Documentation:
Use help buttons and integrated documentation within the interface to better understand the plugins.
Comprehensive Analysis Tools
-
Extensive Plugin Collection:
Explore a wide range of plugins for in-depth performance, hyperparameter, and budget analysis. -
Analysis of Running Processes:
Analyze and monitor optimization processes as they occur, with automatic detection of run changes. -
Group Analysis:
Choose groups of runs for combined analysis to gain deeper insights.
Flexible and Modular Architecture
-
Modular Plugin Architecture:
Benefit from a modularized plugin structure with access to selected runs and groups, offering you maximum flexibility. -
Asynchronous Execution:
Utilize asynchronous execution of resource-intensive plugins and caching of results to improve performance.
Broad Optimizer Support
-
Optimizer Support:
Work with many frameworks and optimizers using our converters, including converters for SMAC, BOHB, AMLTK, and Optuna. -
Native Format Saving:
Save AutoML runs from various frameworks in DeepCAVE's native format using the built-in recorder. -
Flexible Data Loading:
Alternatively, load AutoML runs from other frameworks by converting them into a Pandas DataFrame.
Developer and API Features
- API Mode:
Interact with the code directly through API mode, allowing you to bypass the graphical interface if preferred.
Citation
If you use DeepCAVE in one of your research projects, please cite our ReALML@ICML'22 workshop paper:
@misc{sass-realml2022,
title = {DeepCAVE: An Interactive Analysis Tool for Automated Machine Learning},
author = {Sass, René and Bergman, Eddie and Biedenkapp, André and Hutter, Frank and Lindauer, Marius},
doi = {10.48550/ARXIV.2206.03493},
url = {https://arxiv.org/abs/2206.03493},
publisher = {arXiv},
year = {2022},
copyright = {arXiv.org perpetual, non-exclusive license}
}
Copyright (C) 2021-2024 The DeepCAVE Authors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file deepcave-1.3.1.tar.gz
.
File metadata
- Download URL: deepcave-1.3.1.tar.gz
- Upload date:
- Size: 179.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 027abaef35ac55c12bd28c6195239cf2a0d4333c7b97e89b50f16c2c1532b1f5 |
|
MD5 | 18d8604eee5d564148ba6584bb7d505d |
|
BLAKE2b-256 | 711d007622abdce831886419c12f4299759bffc0a0d24d1fff0b01f88d4fe00b |