I'm getting the following error when I try to build my kernel.
Openturns error Can anyone help?
I'm getting the following error when I try to build my kernel.
Openturns error Can anyone help?
The build only takes a Sample object. You have to convert your numpy array:
import openturns as ot
import numpy as np
sample = ot.Sample(np.array([(1.0, 2.0), (3.0, 4.0), (5.0, 6.0)]))
For the conversion to happen, your data need to have the proper shape: (n_sample, dimension)
In this example, we have 3 sample and the dimension is 2.