fig=fig, figrow=1, figcol=1, ) fig.show() # %% [markdown] # ... and then for the failure data and model # %% fig, ax = plot_gp_2d( result.models[FAILURE].model, search_space.lower, search_space.upper, grid_density=50, contour=True, figsize=(12, 5), predict_y=True, ) plot_bo_points( result.datasets[FAILURE].query_points.numpy(), num_init=num_init_points, ax=ax[0, 0], mask_fail=mask_fail, ) plot_bo_points( result.datasets[FAILURE].query_points.numpy(), num_init=num_init_points,
fig=fig, figrow=1, figcol=1, ) fig.show() # %% [markdown] # ... and then for the failure data and model # %% fig, ax = plot_gp_2d( classification_model, mins, maxs, grid_density=50, contour=True, figsize=(12, 5), predict_y=True, ) plot_bo_points( final_data[FAILURE].query_points.numpy(), num_init=num_init_points, ax=ax[0, 0], mask_fail=mask_fail, ) plot_bo_points( final_data[FAILURE].query_points.numpy(), num_init=num_init_points,