Skip to content

Commit 13708fd

Browse files
committed
reorder tutorial plots
1 parent 7056f9e commit 13708fd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/tutorials/emulation/01_quickstart.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"outputs": [],
124124
"source": [
125125
"# Run AutoEmulate with default settings\n",
126-
"ae = AutoEmulate(x, y, log_level=\"error\")"
126+
"ae = AutoEmulate(x, y, models=[\"GPRBF\"], model_params={}, log_level=\"error\")"
127127
]
128128
},
129129
{
@@ -235,14 +235,14 @@
235235
"metadata": {},
236236
"outputs": [],
237237
"source": [
238-
"ae.plot(best, output_names=projectile.output_names, input_names=projectile.param_names)"
238+
"ae.plot_preds(best, output_names=projectile.output_names)"
239239
]
240240
},
241241
{
242242
"cell_type": "markdown",
243243
"metadata": {},
244244
"source": [
245-
"We can also subset the data included in the plots by providing input and output ranges."
245+
"We can also visualise the predictions against each input feature."
246246
]
247247
},
248248
{
@@ -251,14 +251,14 @@
251251
"metadata": {},
252252
"outputs": [],
253253
"source": [
254-
"ae.plot(best, input_ranges={0: (0, 4), 1: (200, 500)}, output_ranges={0: (0, 10)})\n"
254+
"ae.plot(best, output_names=projectile.output_names, input_names=projectile.param_names)"
255255
]
256256
},
257257
{
258258
"cell_type": "markdown",
259259
"metadata": {},
260260
"source": [
261-
"Alternatively we can plot the predicted vs. true values for all outputs (not by feature)."
261+
"We can subset the data included in the feature plots by providing input and output ranges."
262262
]
263263
},
264264
{
@@ -267,7 +267,7 @@
267267
"metadata": {},
268268
"outputs": [],
269269
"source": [
270-
"ae.plot_preds(best, output_names=projectile.output_names)"
270+
"ae.plot(best, input_ranges={0: (0, 4), 1: (200, 500)}, output_ranges={0: (0, 10)})\n"
271271
]
272272
},
273273
{
@@ -285,7 +285,7 @@
285285
"metadata": {},
286286
"outputs": [],
287287
"source": [
288-
"ae.plot_surface(best.model, projectile.parameters_range, quantile=0.5)\n"
288+
"ae.plot_surface(best.model, projectile.parameters_range, quantile=0.5)"
289289
]
290290
},
291291
{

0 commit comments

Comments
 (0)