|
123 | 123 | "outputs": [], |
124 | 124 | "source": [ |
125 | 125 | "# 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\")" |
127 | 127 | ] |
128 | 128 | }, |
129 | 129 | { |
|
235 | 235 | "metadata": {}, |
236 | 236 | "outputs": [], |
237 | 237 | "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)" |
239 | 239 | ] |
240 | 240 | }, |
241 | 241 | { |
242 | 242 | "cell_type": "markdown", |
243 | 243 | "metadata": {}, |
244 | 244 | "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." |
246 | 246 | ] |
247 | 247 | }, |
248 | 248 | { |
|
251 | 251 | "metadata": {}, |
252 | 252 | "outputs": [], |
253 | 253 | "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)" |
255 | 255 | ] |
256 | 256 | }, |
257 | 257 | { |
258 | 258 | "cell_type": "markdown", |
259 | 259 | "metadata": {}, |
260 | 260 | "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." |
262 | 262 | ] |
263 | 263 | }, |
264 | 264 | { |
|
267 | 267 | "metadata": {}, |
268 | 268 | "outputs": [], |
269 | 269 | "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" |
271 | 271 | ] |
272 | 272 | }, |
273 | 273 | { |
|
285 | 285 | "metadata": {}, |
286 | 286 | "outputs": [], |
287 | 287 | "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)" |
289 | 289 | ] |
290 | 290 | }, |
291 | 291 | { |
|
0 commit comments