From e008d704c287a9b8c62a5b0edc79be7f7afe51be Mon Sep 17 00:00:00 2001 From: Till Hoffmann Date: Thu, 14 Sep 2023 09:32:48 -0400 Subject: [PATCH] Fix typo in error estimation. --- profile/profile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile/profile.md b/profile/profile.md index cc99bc0..f54dc2f 100644 --- a/profile/profile.md +++ b/profile/profile.md @@ -70,7 +70,7 @@ def load_lps(filename: str) -> np.ndarray: errors = [] for fit, eta, data in zip(result["fits"], result["etas"], result["data"]): if fit is None: - mses.append(np.nan) + errors.append(np.nan) continue test_idx = np.setdiff1d(1 + np.arange(size), data["observed_idx"]) - 1 if not test_idx.size: