8000 DOC remove redundant code in GPR example (#21133) · thomasjpfan/scikit-learn@a704c82 · GitHub
[go: up one dir, main page]

Skip to content

Commit a704c82

Browse files
zhaofeng-shu33thomasjpfan
authored andcommitted
DOC remove redundant code in GPR example (scikit-learn#21133)
1 parent e87920b commit a704c82

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/gaussian_process/plot_gpr_prior_posterior.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ def plot_gpr_samples(gpr_model, n_samples, ax):
5757
y_mean, y_std = gpr_model.predict(X, return_std=True)
5858
y_samples = gpr_model.sample_y(X, n_samples)
5959

60-
y_mean, y_std = gpr_model.predict(X, return_std=True)
61-
y_samples = gpr_model.sample_y(X, n_samples)
62-
6360
for idx, single_prior in enumerate(y_samples.T):
6461
ax.plot(
6562
x,

0 commit comments

Comments
 (0)
0