From 255b57aee9e04fc419e13f78eb3bb00cc883df02 Mon Sep 17 00:00:00 2001 From: cardosofede Date: Fri, 8 Dec 2023 11:50:03 -0300 Subject: [PATCH] (feat) add path to run with jupyter --- .../04_analyze_optimization_results.ipynb | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/quants_lab/research_notebooks/04_analyze_optimization_results.ipynb b/quants_lab/research_notebooks/04_analyze_optimization_results.ipynb index fc5ef11..2a545c2 100644 --- a/quants_lab/research_notebooks/04_analyze_optimization_results.ipynb +++ b/quants_lab/research_notebooks/04_analyze_optimization_results.ipynb @@ -6,8 +6,20 @@ "outputs": [], "source": [ "import os\n", + "import sys\n", "\n", - "import pandas as pd\n", + "root_path = os.path.abspath(os.path.join(os.getcwd(), '../..'))\n", + "sys.path.append(root_path)" + ], + "metadata": { + "collapsed": false + } + }, + { + "cell_type": "code", + "execution_count": null, + "outputs": [], + "source": [ "\n", "from utils.optuna_database_manager import OptunaDBManager\n", "\n",