Skip to content

Commit 0643941

Browse files
authored
Fix 97.5th percentile point (#1649)
1 parent 8592029 commit 0643941

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deepxde/utils/external.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ def plot_best_state(train_state):
276276
plt.plot(X, best_y[idx, i], "--r", label="Prediction")
277277
if best_ystd is not None:
278278
plt.plot(
279-
X, best_y[idx, i] + 2 * best_ystd[idx, i], "-b", label="95% CI"
279+
X, best_y[idx, i] + 1.96 * best_ystd[idx, i], "-b", label="95% CI"
280280
)
281-
plt.plot(X, best_y[idx, i] - 2 * best_ystd[idx, i], "-b")
281+
plt.plot(X, best_y[idx, i] - 1.96 * best_ystd[idx, i], "-b")
282282
plt.xlabel("x")
283283
plt.ylabel("y")
284284
plt.legend()

0 commit comments

Comments
 (0)