Spaces:
Sleeping
Sleeping
Update domain_space.py
Browse files- 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["
|
201 |
-
uncertainty_max = df_synth_pred["
|
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="
|
214 |
range_color=[uncertainty_min, uncertainty_max],
|
215 |
-
hover_data={"
|
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
|