Samuel Mueller
commited on
Commit
·
a8d8c56
1
Parent(s):
981d877
axis labels
Browse files
app.py
CHANGED
@@ -90,7 +90,9 @@ def infer(table, choice):
|
|
90 |
plot_w_conf_interval(plt, test_xs, *mean_and_bounds_for_gp(x,y,test_xs), 'green', 'GP')
|
91 |
plot_w_conf_interval(plt, test_xs, *mean_and_bounds_for_pnf(x,y,test_xs, choice), 'blue', 'PFN')
|
92 |
|
93 |
-
plt.legend(ncol=2,bbox_to_anchor=[0.5,-.
|
|
|
|
|
94 |
plt.tight_layout()
|
95 |
|
96 |
|
|
|
90 |
plot_w_conf_interval(plt, test_xs, *mean_and_bounds_for_gp(x,y,test_xs), 'green', 'GP')
|
91 |
plot_w_conf_interval(plt, test_xs, *mean_and_bounds_for_pnf(x,y,test_xs, choice), 'blue', 'PFN')
|
92 |
|
93 |
+
plt.legend(ncol=2,bbox_to_anchor=[0.5,-.14],loc="upper center")
|
94 |
+
plt.xlabel('x')
|
95 |
+
plt.ylabel('y')
|
96 |
plt.tight_layout()
|
97 |
|
98 |
|