class_docstr: Compare TP with high degrees of freedom to GP
class_docstr_tok: ["Compare","TP","with","high","degrees","of","freedom","to","GP"]
code: def setup_method(self):
      rng = np.random.default_rng(20221125)
      X = rng.standard_normal(size=(20, 3))
      y = rng.standard_normal(size=(20,))
      Xnew = rng.standard_normal(size=(30, 3))
      pnew = rng.standard_normal(size=(30,))
  
      with pm.Model() as model1:
          cov_func = pm.gp.cov.ExpQuad(3, [0.1, 0.2, 0.3])
          gp = pm.gp.Latent(cov_func=cov_func)
          f = gp.prior("f", X, reparameterize=False)
          p = gp.conditional("p", Xnew)
      self.gp_latent_logp = model1.compile_logp()({"f": y, "p": pnew})
      self.X = X
      self.y = y
      self.Xnew = Xnew
      self.pnew = pnew
      self.nu = 10000
  
imports: from functools import reduce
  from operator import add
  import numpy
  import numpy.testing
  import pytest
  import pymc
  from pymc.math import cartesian
label_desc: Use image node_id 1 for calling the TestTP obj's underlying member method code with example usage: obj.setup_method() without return types