From 2083dd40478037771969ebdb2a39b7f6ffd47963 Mon Sep 17 00:00:00 2001 From: cemachelen Date: Thu, 30 Jun 2022 22:28:05 +0100 Subject: [PATCH] :pencil2: remove error from try --- Gaussian_Processes.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gaussian_Processes.ipynb b/Gaussian_Processes.ipynb index 194c524..cabd12d 100644 --- a/Gaussian_Processes.ipynb +++ b/Gaussian_Processes.ipynb @@ -714,7 +714,7 @@ "try:\n", " mu = k_starX.dot(np.linalg.inv(k_xx)).dot(y_samp).flatten()\n", " var = k_starstar - k_starX.dot(np.linalg.inv(k_xx)).dot(k_starX.T)\n", - "except: LinAlgError\n", + "except:\n", " print('ERROR PLEASE RETURN TO GENERATE SAMPLE')" ] },