.. _example_gaussian_process_plot_gpc_xor.py: ======================================================================== Illustration of Gaussian process classification (GPC) on the XOR dataset ======================================================================== This example illustrates GPC on XOR data. Compared are a stationary, isotropic kernel (RBF) and a non-stationary kernel (DotProduct). On this particular dataset, the DotProduct kernel obtains considerably better results because the class-boundaries are linear and coincide with the coordinate axes. In general, stationary kernels often obtain better results. .. image:: images/plot_gpc_xor_001.png :align: center **Python source code:** :download:`plot_gpc_xor.py ` .. literalinclude:: plot_gpc_xor.py :lines: 12- **Total running time of the example:** 1.77 seconds ( 0 minutes 1.77 seconds)