|
1802 | 1802 | "cell_type": "markdown", |
1803 | 1803 | "metadata": {}, |
1804 | 1804 | "source": [ |
1805 | | - "# BoTorch / BNN-BO" |
| 1805 | + "# BoTorch / nasengb" |
1806 | 1806 | ] |
1807 | 1807 | }, |
1808 | 1808 | { |
|
1840 | 1840 | ")\n", |
1841 | 1841 | "from hydra.utils import instantiate\n", |
1842 | 1842 | "from omegaconf import DictConfig, OmegaConf\n", |
1843 | | - "from bnnbo_test_functions import (\n", |
| 1843 | + "from naseng_benchmark import (\n", |
1844 | 1844 | " BnnDraw,\n", |
1845 | 1845 | " KnowledgeDistillation,\n", |
1846 | 1846 | " LunarLanderProblem,\n", |
|
1863 | 1863 | "def get_n_trials(dimension: int) -> int:\n", |
1864 | 1864 | " return int(np.ceil(20 + 40 * np.sqrt(dimension)))\n", |
1865 | 1865 | "\n", |
1866 | | - "def generate_bnnbo_configs(\n", |
| 1866 | + "def generate_nasengb_configs(\n", |
1867 | 1867 | " problem_classes: list[BaseTestProblem],\n", |
1868 | 1868 | " get_n_trials_fn: Callable[[int], int],\n", |
1869 | 1869 | " target_path: Path,\n", |
|
1924 | 1924 | " search_space_has_priors=False\n", |
1925 | 1925 | " )\n", |
1926 | 1926 | " cfg = DictConfig({\n", |
1927 | | - " \"benchmark_id\": task_base_id.upper(),\n", |
| 1927 | + " \"benchmark_id\": task_base_id,\n", |
1928 | 1928 | " \"task_id\": \"${task.name}\",\n", |
1929 | 1929 | " \"task\": {\n", |
1930 | 1930 | " \"_target_\": \"carps.utils.task.Task\",\n", |
|
1962 | 1962 | " WeldedBeamSO,\n", |
1963 | 1963 | " TensionCompressionString\n", |
1964 | 1964 | "]\n", |
1965 | | - "generate_bnnbo_configs(problem_classes, get_n_trials, base_path / \"BNNBO\", \"bnnbo\")" |
| 1965 | + "generate_nasengb_configs(problem_classes, get_n_trials, base_path / \"nasengb\", \"nasengb\")" |
1966 | 1966 | ] |
1967 | 1967 | }, |
1968 | 1968 | { |
|
1987 | 1987 | ], |
1988 | 1988 | "metadata": { |
1989 | 1989 | "kernelspec": { |
1990 | | - "display_name": ".env", |
| 1990 | + "display_name": ".venv", |
1991 | 1991 | "language": "python", |
1992 | 1992 | "name": "python3" |
1993 | 1993 | }, |
|
2001 | 2001 | "name": "python", |
2002 | 2002 | "nbconvert_exporter": "python", |
2003 | 2003 | "pygments_lexer": "ipython3", |
2004 | | - "version": "3.12.9" |
| 2004 | + "version": "3.13.2" |
2005 | 2005 | }, |
2006 | 2006 | "pycharm": { |
2007 | 2007 | "stem_cell": { |
|
0 commit comments