9d2281355cbf35e6f7468d01e4f6a1c23a9710d0,testing/test_kerns.py,TestArcCosine,test_3d,#TestArcCosine#,67
Before Change
rng = np.random.RandomState(1)
X_data = rng.randn(N, D)
for order in orders:
self.evalKernelError(D, variance, weight_variances,
bias_variance, order, ARD, X_data)
class TestPeriodic(unittest.TestCase):
def evalKernelError(self, D, lengthscale, variance, period, X_data):
After Change
variance = 1e-2
ARD = True
orders = GPflow.kernels.ArcCosine.implemented_orders
layers = {1, 2, 6}
rng = np.random.RandomState(1)
X_data = rng.randn(N, D)
for order in orders:
for layer in layers:
self.evalKernelError(D, variance, weight_variances,
bias_variance, order, layer, ARD, X_data)
class TestPeriodic(unittest.TestCase):
def evalKernelError(self, D, lengthscale, variance, period, X_data):
kernel = GPflow.kernels.PeriodicKernel(D, period=period, variance=variance, lengthscales=lengthscale)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances
Project Name: GPflow/GPflow
Commit Name: 9d2281355cbf35e6f7468d01e4f6a1c23a9710d0
Time: 2017-03-24
Author: markus.kaiser@in.tum.de
File Name: testing/test_kerns.py
Class Name: TestArcCosine
Method Name: test_3d
Project Name: GPflow/GPflow
Commit Name: da51d81aaa099a8e8f508d463d74ce52385b9f2a
Time: 2017-03-28
Author: markus.kaiser@in.tum.de
File Name: testing/test_kerns.py
Class Name: TestArcCosine
Method Name: test_1d
Project Name: GPflow/GPflow
Commit Name: da51d81aaa099a8e8f508d463d74ce52385b9f2a
Time: 2017-03-28
Author: markus.kaiser@in.tum.de
File Name: testing/test_kerns.py
Class Name: TestArcCosine
Method Name: test_3d
Project Name: GPflow/GPflow
Commit Name: 9d2281355cbf35e6f7468d01e4f6a1c23a9710d0
Time: 2017-03-24
Author: markus.kaiser@in.tum.de
File Name: testing/test_kerns.py
Class Name: TestArcCosine
Method Name: test_1d
Project Name: GPflow/GPflow
Commit Name: 9d2281355cbf35e6f7468d01e4f6a1c23a9710d0
Time: 2017-03-24
Author: markus.kaiser@in.tum.de
File Name: testing/test_kerns.py
Class Name: TestArcCosine
Method Name: test_3d