Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ ax.fill_between(x_test.ravel(), pred_mean.ravel()-pred_std2.ravel(),
|
|
| 60 |
pred_mean.ravel()+pred_std2.ravel(), alpha=0.5, label='$\\mu \\pm 2\\sigma$')
|
| 61 |
ax.set_xlabel('x')
|
| 62 |
ax.set_ylabel('y')
|
| 63 |
-
ax.set_title(f"Negative Log Marginal Likelihood: {scipy.stats.multivariate_normal(np.zeros(3), k_train_with_noise).
|
| 64 |
ax.legend()
|
| 65 |
|
| 66 |
with st_col:
|
|
|
|
| 60 |
pred_mean.ravel()+pred_std2.ravel(), alpha=0.5, label='$\\mu \\pm 2\\sigma$')
|
| 61 |
ax.set_xlabel('x')
|
| 62 |
ax.set_ylabel('y')
|
| 63 |
+
ax.set_title(f"Negative Log Marginal Likelihood: {scipy.stats.multivariate_normal(np.zeros(3), k_train_with_noise).logpdf(y_train.ravel()):.4f}")
|
| 64 |
ax.legend()
|
| 65 |
|
| 66 |
with st_col:
|