Skip to content

Commit

Permalink
add open in colab and try except
Browse files Browse the repository at this point in the history
  • Loading branch information
sgbaird authored May 30, 2024
1 parent b5040ea commit 38062db
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions notebooks/escience/1.0-traditional-doe-vs-bayesian.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"source": [
"# Traditional DoE vs. Bayesian Optimization\n",
"\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/sparks-baird/self-driving-lab-demo/blob/main/notebooks/4.2-paho-mqtt-colab-sdl-demo-test.ipynb)\n",
"\n",
"The [first](https://youtu.be/Evua529dAgc) and\n",
"[second](https://youtu.be/41fQs4JxRQA) videos from Taylor Sparks' [Optimization Tutorial\n",
"YouTube playlist](https://youtube.com/playlist?list=PLL0SWcFqypClTIMQDOs_Jug70qaVPOzEc)\n",
Expand All @@ -21,6 +23,21 @@
"optimization is much more efficient than traditional DoE."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"try:\n",
" import google.colab\n",
" IN_COLAB = True\n",
" %pip install git+https://github.com/sparks-baird/self-driving-lab-demo.git # latest\n",
" # %pip install self-driving-lab-demo # uncomment for stable release\n",
"except:\n",
" IN_COLAB = False"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down

0 comments on commit 38062db

Please sign in to comment.