8000 FIX Convergence Warnings in Gaussian process examples (#18019) · scikit-learn/scikit-learn@dbfb219 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit dbfb219

Browse files
marenwestermannMaren Westermannthomasjpfan
authored
FIX Convergence Warnings in Gaussian process examples (#18019)
Co-authored-by: Maren Westermann <maren.westermann@free-now.com> Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
1 parent 934c918 commit dbfb219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/gaussian_process/plot_gpc_xor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
# fit the model
3131
plt.figure(figsize=(10, 5))
32-
kernels = [1.0 * RBF(length_scale=1.0), 1.0 * DotProduct(sigma_0=1.0) ** 2]
32+
kernels = [1.0 * RBF(length_scale=1.15), 1.0 * DotProduct(sigma_0=1.0) ** 2]
3333
for i, kernel in enumerate(kernels):
3434
clf = GaussianProcessClassifier(kernel=kernel, warm_start=True).fit(X, Y)
3535

0 commit comments

Comments
 (0)
0