snajmark commited on
Commit
b56c937
·
1 Parent(s): 8652f6c

Update domain_space.py

Browse files
Files changed (1) hide show
  1. domain_space.py +4 -4
domain_space.py CHANGED
@@ -197,8 +197,8 @@ def make_domain_plot(df_synth_pred, explored_domain_space, x_list):
197
  """
198
  Create a plot with the uncertainty space and the training space
199
  """
200
- uncertainty_min = df_synth_pred["uncertainty"].min()
201
- uncertainty_max = df_synth_pred["uncertainty"].max()
202
 
203
  # df_synth_pred2, filter_cols = filter_dataframe(x_list[:6], df_synth_pred)
204
  df_synth_pred2, filter_cols = interpolate_all(x_list[:6], df_synth_pred)
@@ -210,9 +210,9 @@ def make_domain_plot(df_synth_pred, explored_domain_space, x_list):
210
  x=x_col,
211
  y=y_col,
212
  z=z_col,
213
- color="uncertainty",
214
  range_color=[uncertainty_min, uncertainty_max],
215
- hover_data={"uncertainty": ":.3f"},
216
  )
217
 
218
  # Filter domain space
 
197
  """
198
  Create a plot with the uncertainty space and the training space
199
  """
200
+ uncertainty_min = df_synth_pred["y_pred"].min()
201
+ uncertainty_max = df_synth_pred["y_pred"].max()
202
 
203
  # df_synth_pred2, filter_cols = filter_dataframe(x_list[:6], df_synth_pred)
204
  df_synth_pred2, filter_cols = interpolate_all(x_list[:6], df_synth_pred)
 
210
  x=x_col,
211
  y=y_col,
212
  z=z_col,
213
+ color="y_pred",
214
  range_color=[uncertainty_min, uncertainty_max],
215
+ hover_data={"y_pred": ":.3f"},
216
  )
217
 
218
  # Filter domain space