Skip to content

Commit

Permalink
Merge pull request #381 from damar-wicaksono/patch
Browse files Browse the repository at this point in the history
Reduce number of sample for Sobol'-G* docs
  • Loading branch information
damar-wicaksono authored Nov 12, 2024
2 parents 1e9f8e3 + 9b6d99e commit f2f5e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/test-functions/sobol-g-star.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ of the estimates obtained from $50$ replications.
# --- Compute the mean and variance estimate
np.random.seed(42)
sample_sizes = np.array([1e1, 1e2, 1e3, 1e4, 1e5, 1e6], dtype=int)
sample_sizes = np.array([1e1, 1e2, 1e3, 1e4, 1e5], dtype=int)
mean_estimates = np.empty((len(sample_sizes), 50))
var_estimates = np.empty((len(sample_sizes), 50))
Expand Down Expand Up @@ -319,7 +319,7 @@ ax_1.plot(
color="#66c2a5",
label="Analytical mean",
)
ax_1.set_xlim([5, 5e6])
ax_1.set_xlim([5, 5e5])
ax_1.set_xlabel("Sample size")
ax_1.set_ylabel("Output mean estimate")
ax_1.set_xscale("log");
Expand Down

0 comments on commit f2f5e55

Please sign in to comment.