Skip to content

Commit

Permalink
Merge pull request #290 from alan-turing-institute/docs-fixes
Browse files Browse the repository at this point in the history
Docs fixes
  • Loading branch information
mastoffel authored Jan 31, 2025
2 parents 66c7fa6 + 73cb65f commit 7a4dc72
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/getting-started/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1050,9 +1050,9 @@
"metadata": {},
"outputs": [],
"source": [
"# save & load best model\n",
"# ae.save(best_emulator, \"best_model\")\n",
"# best_emulator = ae.load(\"best_model\")"
"# save & load best emulator\n",
"# ae.save(gp_final, \"gp_final\")\n",
"# emulator = ae.load(\"gp_final\")"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/01_start.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@
"`AutoEmulate` standardises inputs by default (`scale=True`) to have zero mean and unit variance. It uses `scaler=StandardScaler()` but [other normalisers](https://scikit-learn.org/stable/modules/classes.html#module-sklearn.preprocessing) can be used, or the inputs can be left unscaled (`scale=False`). In addition, some models, like Gaussian Processes also standardise outputs, which makes them work better. Checking the parameters of a model with `model.get_params()` will show whether the model standardises outputs.\n",
"\n",
"### Dimension reduction\n",
"When there are lots of input variables, it can be useful to reduce the dimensionality. To do this, we can add a dimension reduction step to each model using `reduce_dim=True`. Be default, this uses PCA from scikit-learn, but [other dimension reduction methods](https://scikit-learn.org/stable/modules/classes.html#module-sklearn.decomposition) can be used."
"When there are lots of input variables, it can be useful to reduce the dimensionality. To do this, we can add a dimension reduction step to each model using `reduce_dim=True`. By default, this uses PCA from scikit-learn, but [other dimension reduction methods](https://scikit-learn.org/stable/modules/classes.html#module-sklearn.decomposition) can be used."
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/02_speed.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "87557f74fe6c4e46b17065237f9a6397",
"model_id": "acc01531f97f4210ad51022bc2181a4b",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -169,7 +169,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Time taken: 33.17510414123535 seconds\n"
"Time taken: 33.06326484680176 seconds\n"
]
}
],
Expand Down

0 comments on commit 7a4dc72

Please sign in to comment.