8000 DOC remove redundant code in GPR example by zhaofeng-shu33 · Pull Request #21133 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC remove redundant code in GPR example #21133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
< BCD3 /div>
Diff view
3 changes: 0 additions & 3 deletions examples/gaussian_process/plot_gpr_prior_posterior.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ def plot_gpr_samples(gpr_model, n_samples, ax):
y_mean, y_std = gpr_model.predict(X, return_std=True)
y_samples = gpr_model.sample_y(X, n_samples)

y_mean, y_std = gpr_model.predict(X, return_std=True)
y_samples = gpr_model.sample_y(X, n_samples)

for idx, single_prior in enumerate(y_samples.T):
ax.plot(
x,
Expand Down
0