Skip to content

Commit 34d9b00

Browse files
committed
added rst documentation
1 parent 8eeefda commit 34d9b00

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

deepcave/plugins/hypershap/tunability.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class Tunability(StaticPlugin):
5050
id = "tunability"
5151
name = "Tunability"
5252
icon = "fas fa-binoculars"
53+
help = "plugins/tunability.html"
5354
activate_run_selection = True
5455

5556
@staticmethod
@@ -74,6 +75,12 @@ def get_input_layout(register: Callable) -> List:
7475
dbc.Col(
7576
[
7677
dbc.Label("Tunability"),
78+
help_button(
79+
"Tunability: Quantify how much performance can be gained by "
80+
"tuning subsets of hyperparameters. \n Mistunability: Quantify how "
81+
"much performance can be lost due to mistuning a "
82+
"(subsets of) hyperparameter(s)."
83+
),
7784
dbc.Select(
7885
id=register("tunability", ["value", "options"], type=str),
7986
placeholder="Select tunability ...",

docs/images/plugins/tunability.png

334 KB
Loading

docs/plugins/tunability.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Tunability and Mistunability (HyperSHAP)
2+
========================================
3+
4+
Tunability and Mistunability are methods to analyze the optimization potential and sensitivity of hyperparameters using HyperSHAP, a game-theoretic framework based on Shapley values
5+
and interactions.
6+
Rather than evaluating a single sequential path, these methods calculate the fair performance contribution of each hyperparameter across all possible combinations.
7+
**Tunability** quantifies how much performance can be gained by tuning individual hyperparameters (or subsets) starting from a sampled baseline.
8+
Conversely, **Mistunability** quantifies how much performance can be lost due to mistuning a hyperparameter, highlighting the risks of poor configuration choices.
9+
10+
This plugin is capable of answering following questions:
11+
12+
* Which hyperparameters, when tuned, lead to the greatest expected improvement in the objective function?
13+
* Which hyperparameters are highly sensitive and cause the most significant performance degradation if mistuned?
14+
* Are there specific interactions between hyperparameters that consistently drive performance gains or losses, regardless of the budget?
15+
16+
To learn more about the underlying game-theoretic framework, please see the paper
17+
`HyperSHAP: Shapley Values and Interactions for Explaining Hyperparameter Optimization
18+
<https://arxiv.org/abs/2502.01276>`_.
19+
20+
.. image:: ../images/plugins/tunability.png
21+
22+
Options
23+
-------
24+
* **Objective**: Choose the objective you wish to calculate the HyperSHAP values for.
25+
26+
* **Tunability Mode**: Choose between *Tunability* (to evaluate potential performance gains) and *Mistunability* (to evaluate potential performance losses).
27+
28+
* **Budgets**: Filter the results to view tunability/mistunability scores specific to certain multi-fidelity budgets, allowing you to analyze how hyperparameter importance varies with budget changes.
29+
30+

0 commit comments

Comments
 (0)