Python Forum
How do I create these Kernel functions in Python for Gaussian Process Regression?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I create these Kernel functions in Python for Gaussian Process Regression?
#1
Hello all! I am new to this so I would appreciate any help.

I have a dataset of 1031 observed samples of 7 features that form the X and one target variable that forms the Y.

See below for input data and target representation with number of rows (n) and columns (m) mentioned in round brackets as (n x m). Here x1, x2, ..., x7 and y represent column vectors.

X (1031 x 7) = [x1, x2, x3, ..., x7]
Y (1031 x 1) = [y]

I am using Gaussian Process Regressor to train my models. I want to use anisotropic Gaussian and anisotropic exponential correlation functions as kernels. Please see equation 14 and 15 in the attached equation pic for reference.

[Image: DRKAE.png]

How do I define these two functions in python such that they are compatible with SKlearns's GPR? Please help.

--
Shivam
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Laplacian Exponential Diffusion Kernel ainisyarifaah 1 1,715 Nov-25-2021, 06:21 PM
Last Post: Gribouillis
  fuzzy regression in python mohamed_L 0 1,978 May-20-2021, 03:33 PM
Last Post: mohamed_L
  Gaussian Curve Fit using Scipy ODR 83dons 1 3,848 Feb-19-2021, 10:24 PM
Last Post: Tuxedo
  matplotlib.pyplot functions create new figures instead of applying to the current one karkas 2 2,093 Jul-09-2020, 08:32 AM
Last Post: karkas
  Get underlying function from Kernel Density Estimation jpython 3 2,816 Dec-05-2019, 11:23 AM
Last Post: jpython

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020