Skip to content

Commit

Permalink
Other code for using on collab
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi Tschupp committed Jul 1, 2024
1 parent ec8036a commit d0e2d70
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion titanic/titanic_models.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"metadata": {},
"outputs": [],
"source": [
"gen_dirname = os.path.dirname(os.path.abspath(''))"
"gen_dirname = os.path.dirname(os.path.abspath(''))\n",
"# gen_dirname = os.path.abspath('') # In case use on collab switch comment"
]
},
{
Expand Down Expand Up @@ -248,6 +249,26 @@
"## MLFlow part"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"More code in case this is used on collab"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# # run tracking UI in the background\n",
"# get_ipython().system_raw(\"mlflow ui &\")\n",
"\n",
"# from google.colab import output\n",
"# output.serve_kernel_port_as_window(5000)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit d0e2d70

Please sign in to comment.