def test_parametric_mean_function(self):

        X = np.linspace(0,10,50).reshape(-1,1)
        Y = np.sin(X) + 0.5*np.cos(3*X) + 0.1*np.random.randn(*X.shape) + 3*X

        mf = GPy.mappings.Linear(1,1)

        k =GPy.kern.RBF(1)
        lik = GPy.likelihoods.Gaussian()
        m = GPy.core.GP(X, Y, kernel=k, likelihood=lik, mean_function=mf)
        self.assertTrue(m.checkgrad())
Return a list of selfloop edges.
dataset/ETHPy150Open SheffieldML/GPy/GPy/testing/meanfunc_tests.py/MFtests.test_parametric_mean_function--crossover with--dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.selfloop_edges