Skip to content

Commit

Permalink
Merge pull request #45 from sgbaird/dev
Browse files Browse the repository at this point in the history
tutorial content
  • Loading branch information
sgbaird authored May 2, 2024
2 parents 931eae2 + 82d00b4 commit 24f238c
Show file tree
Hide file tree
Showing 1,166 changed files with 6,181 additions and 3,082 deletions.
Binary file added docs/_static/freq-vs-bayes-thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/mobo-tutorial-thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/sobo-tutorial-thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/sobo-vs-mobo-thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/docs.md → docs/concepts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Docs

```{toctree}
```{nbgallery}
:maxdepth: 1
tutorials/sobo-vs-mobo/sobo-vs-mobo.md
tutorials/freq-vs-bayes/freq-vs-bayes.md
```
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,13 @@
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]

nbsphinx_thumbnails = {
"tutorials/sobo-tutorial": "_static/sobo-tutorial-thumbnail.jpg",
"tutorials/mobo-tutorial": "_static/mobo-tutorial-thumbnail.jpg",
"tutorials/sobo-vs-mobo/sobo-vs-mobo": "_static/sobo-vs-mobo-thumbnail.png",
"tutorials/freq-vs-bayes/freq-vs-bayes": "_static/freq-vs-bayes-thumbnail.jpg",
}

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "e1ef5215",
"id": "3c72aff2",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-False%2Bcustom_threshold-False%2Bsynchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c788e0b6",
"id": "6631e8e4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "748e6dd2",
"id": "4514e203",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -67,7 +67,7 @@
" model=Models.FULLYBAYESIANMOO,\n",
" num_trials=-1,\n",
" max_parallelism=3,\n",
" model_kwargs={\"num_samples\": 256, \"warmup_steps\": 512},\n",
" model_kwargs={\"num_samples\": 1024, \"warmup_steps\": 1024},\n",
" ),\n",
" ]\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "8a726861",
"id": "91a5cb5c",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-False%2Bcustom_threshold-False%2Bsynchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9e8904fa",
"id": "df46df73",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c73576d7",
"id": "9cfe45c8",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -67,7 +67,7 @@
" model=Models.FULLYBAYESIANMOO,\n",
" num_trials=-1,\n",
" max_parallelism=3,\n",
" model_kwargs={\"num_samples\": 256, \"warmup_steps\": 512},\n",
" model_kwargs={\"num_samples\": 1024, \"warmup_steps\": 1024},\n",
" ),\n",
" ]\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "01163a12",
"id": "26753923",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-False%2Bcustom_threshold-True%2Bsynchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "32409e12",
"id": "6897e593",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0109f7ee",
"id": "adad3bb9",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -67,7 +67,7 @@
" model=Models.FULLYBAYESIANMOO,\n",
" num_trials=-1,\n",
" max_parallelism=3,\n",
" model_kwargs={\"num_samples\": 256, \"warmup_steps\": 512},\n",
" model_kwargs={\"num_samples\": 1024, \"warmup_steps\": 1024},\n",
" ),\n",
" ]\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "f78a8144",
"id": "688e3d20",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-False%2Bcustom_threshold-True%2Bsynchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a1af47b2",
"id": "10bd679d",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "55b41f3f",
"id": "9bc48b22",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -67,7 +67,7 @@
" model=Models.FULLYBAYESIANMOO,\n",
" num_trials=-1,\n",
" max_parallelism=3,\n",
" model_kwargs={\"num_samples\": 256, \"warmup_steps\": 512},\n",
" model_kwargs={\"num_samples\": 1024, \"warmup_steps\": 1024},\n",
" ),\n",
" ]\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "f4679ed8",
"id": "4c194001",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-True%2Bcustom_threshold-False%2Bsynchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ee099c5a",
"id": "c9dfc950",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "f5206987",
"id": "8dccee59",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -75,7 +75,7 @@
" model=Models.FULLYBAYESIANMOO,\n",
" num_trials=-1,\n",
" max_parallelism=3,\n",
" model_kwargs={\"num_samples\": 256, \"warmup_steps\": 512},\n",
" model_kwargs={\"num_samples\": 1024, \"warmup_steps\": 1024},\n",
" ),\n",
" ]\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "fef05336",
"id": "d29b3ff6",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-True%2Bcustom_threshold-False%2Bsynchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "39ddad51",
"id": "bcad2de8",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "05964b52",
"id": "5ffd7775",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -75,7 +75,7 @@
" model=Models.FULLYBAYESIANMOO,\n",
" num_trials=-1,\n",
" max_parallelism=3,\n",
" model_kwargs={\"num_samples\": 256, \"warmup_steps\": 512},\n",
" model_kwargs={\"num_samples\": 1024, \"warmup_steps\": 1024},\n",
" ),\n",
" ]\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "e87a6015",
"id": "ea53ec54",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-True%2Bcustom_threshold-True%2Bsynchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "dbb128be",
"id": "bb0026e6",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "286284a1",
"id": "199a22e9",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -75,7 +75,7 @@
" model=Models.FULLYBAYESIANMOO,\n",
" num_trials=-1,\n",
" max_parallelism=3,\n",
" model_kwargs={\"num_samples\": 256, \"warmup_steps\": 512},\n",
" model_kwargs={\"num_samples\": 1024, \"warmup_steps\": 1024},\n",
" ),\n",
" ]\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "9fbef3a0",
"id": "28b4b609",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-False%2Bcategorical-True%2Bcustom_threshold-True%2Bsynchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "61ad52b6",
"id": "d03988eb",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0a2a6ee3",
"id": "2bad020e",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -75,7 +75,7 @@
" model=Models.FULLYBAYESIANMOO,\n",
" num_trials=-1,\n",
" max_parallelism=3,\n",
" model_kwargs={\"num_samples\": 256, \"warmup_steps\": 512},\n",
" model_kwargs={\"num_samples\": 1024, \"warmup_steps\": 1024},\n",
" ),\n",
" ]\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "de9aa73f",
"id": "420602e1",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-True%2Bcategorical-False%2Bcustom_threshold-False%2Bsynchrony-batch.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "988c2396",
"id": "7d43ee5a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "bde45f7c",
"id": "eb13b1f7",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -76,7 +76,7 @@
" model=Models.FULLYBAYESIANMOO,\n",
" num_trials=-1,\n",
" max_parallelism=3,\n",
" model_kwargs={\"num_samples\": 256, \"warmup_steps\": 512},\n",
" model_kwargs={\"num_samples\": 1024, \"warmup_steps\": 1024},\n",
" ),\n",
" ]\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "6b89aff8",
"id": "7cdc6995",
"metadata": {},
"source": [
"<a href=\"https://colab.research.google.com/github/sgbaird/honegumi/blob/main/docs/generated_notebooks/ax/objective-multi%2Bmodel-FULLYBAYESIAN%2Bcustom_gen-True%2Bexisting_data-False%2Bsum_constraint-False%2Border_constraint-False%2Blinear_constraint-False%2Bcomposition_constraint-True%2Bcategorical-False%2Bcustom_threshold-False%2Bsynchrony-single.ipynb\"><img alt=\"Open In Colab\" src=\"https://colab.research.google.com/assets/colab-badge.svg\"></a>"
Expand All @@ -11,7 +11,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "99c9525c",
"id": "1c5b2968",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -21,7 +21,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0bd6f4af",
"id": "e30fd0c3",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -76,7 +76,7 @@
" model=Models.FULLYBAYESIANMOO,\n",
" num_trials=-1,\n",
" max_parallelism=3,\n",
" model_kwargs={\"num_samples\": 256, \"warmup_steps\": 512},\n",
" model_kwargs={\"num_samples\": 1024, \"warmup_steps\": 1024},\n",
" ),\n",
" ]\n",
")\n",
Expand Down
Loading

0 comments on commit 24f238c

Please sign in to comment.