Skip to content

Commit

Permalink
Fix 97.5th percentile point (#1649)
Browse files Browse the repository at this point in the history
  • Loading branch information
vl-dud authored Feb 11, 2024
1 parent 8592029 commit 0643941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepxde/utils/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ def plot_best_state(train_state):
plt.plot(X, best_y[idx, i], "--r", label="Prediction")
if best_ystd is not None:
plt.plot(
X, best_y[idx, i] + 2 * best_ystd[idx, i], "-b", label="95% CI"
X, best_y[idx, i] + 1.96 * best_ystd[idx, i], "-b", label="95% CI"
)
plt.plot(X, best_y[idx, i] - 2 * best_ystd[idx, i], "-b")
plt.plot(X, best_y[idx, i] - 1.96 * best_ystd[idx, i], "-b")
plt.xlabel("x")
plt.ylabel("y")
plt.legend()
Expand Down

0 comments on commit 0643941

Please sign in to comment.