Skip to content

Commit 20b0b44

Browse files
authored
Merge pull request #869 from alan-turing-institute/add_tutorial_pr
Add tutorial on adding emulators suggestions
2 parents 32faed1 + bfc60a1 commit 20b0b44

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/tutorials/advanced/01_add_emulators.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@
112112
"source": [
113113
"## 2. Adding new models\n",
114114
"\n",
115-
"It is also possible to add entirely new models to AutoEmulate. AutoEmulate has a base `Emulator` class that handles most of the general functionality required for training and prediction. To implement a new emulator, one must simply subclass `Emulator` and implement two abstract methods: `_fit` and `_predict` as well any model specific functionality and initialisations.\n",
115+
"It is also possible to add entirely new models to AutoEmulate. AutoEmulate has a base `Emulator` class that handles most of the general functionality required for training and prediction. To implement a new emulator, one must simply subclass `Emulator` and implement the abstract methods (`_fit`, `_predict` and `is_multioutput`), `get_tune_params` to enable model tuning, as well any model specific functionality and initialisations.\n",
116116
"\n",
117117
"Since AutoEmulate supports a variety of models, there are additional `Emulator` subclasses that handle specific functionality for each model type:\n",
118118
"- `PytorchBackend` for PyTorch models\n",
119119
"- `SklearnBackend` for scikit-learn models\n",
120-
"- `GaussianProcessExact` for exact Gaussian Process implementations\n",
120+
"- `GaussianProcess` for exact Gaussian Process implementations\n",
121121
"- `Ensemble` for ensemble models\n",
122122
"\n",
123-
"Subclassing one of these directly has slightly different requirements. For example, when subclassing `PytorchBackend` or `GaussianProcessExact`, one must implement the `forward` method to define the model's forward pass. \n",
123+
"Subclassing one of these directly has slightly different requirements. For example, when subclassing `PytorchBackend` or `GaussianProcess`, one must implement the `forward` method to define the model's forward pass.\n",
124124
"\n",
125125
"There are also some static methods that should be implemented to provide metadata about the model, such as `is_multioutput` and `get_tune_params`.\n",
126126
"\n",
@@ -197,7 +197,7 @@
197197
],
198198
"metadata": {
199199
"kernelspec": {
200-
"display_name": "autoemulate",
200+
"display_name": ".venv",
201201
"language": "python",
202202
"name": "python3"
203203
},
@@ -211,7 +211,7 @@
211211
"name": "python",
212212
"nbconvert_exporter": "python",
213213
"pygments_lexer": "ipython3",
214-
"version": "3.12.7"
214+
"version": "3.12.11"
215215
}
216216
},
217217
"nbformat": 4,

0 commit comments

Comments
 (0)