|
27 | 27 | from gplearn.genetic import SymbolicRegressor |
28 | 28 | from pyPDP.algorithms.pdp import PDP |
29 | 29 |
|
30 | | -from deepcave.config import Config |
| 30 | +from deepcave import config |
31 | 31 | from deepcave.evaluators.epm.random_forest_surrogate import RandomForestSurrogate |
32 | 32 | from deepcave.plugins.hyperparameter.pdp import PartialDependencies |
33 | 33 | from deepcave.plugins.static import StaticPlugin |
@@ -491,8 +491,8 @@ def get_output_layout(register: Callable) -> List[dcc.Graph]: |
491 | 491 | Layout for the output block. |
492 | 492 | """ |
493 | 493 | return [ |
494 | | - dcc.Graph(register("symb_graph", "figure"), style={"height": Config.FIGURE_HEIGHT}), |
495 | | - dcc.Graph(register("pdp_graph", "figure"), style={"height": Config.FIGURE_HEIGHT}), |
| 494 | + dcc.Graph(register("symb_graph", "figure"), style={"height": config.FIGURE_HEIGHT}), |
| 495 | + dcc.Graph(register("pdp_graph", "figure"), style={"height": config.FIGURE_HEIGHT}), |
496 | 496 | ] |
497 | 497 |
|
498 | 498 | @staticmethod |
@@ -592,7 +592,7 @@ def load_outputs(run, inputs, outputs) -> List[go.Figure]: # type: ignore |
592 | 592 | dict( |
593 | 593 | xaxis=dict(tickvals=x_tickvals, ticktext=x_ticktext, title=hp1_name), |
594 | 594 | yaxis=dict(tickvals=y_tickvals, ticktext=y_ticktext, title=hp2_name), |
595 | | - margin=Config.FIGURE_MARGIN, |
| 595 | + margin=config.FIGURE_MARGIN, |
596 | 596 | title=expr, |
597 | 597 | ) |
598 | 598 | ) |
|
0 commit comments