Open kakila opened 5 years ago
I ma trying to use the Truncated linear kernels. They do not seem to work
>>> GPy.kern.TruncLinear_inf(1,[0,1]) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-12-7692b532c67a> in <module> ----> 1 GPy.kern.TruncLinear_inf(1,[0,1]) ~/virtualenvironment_venv/hamopt/lib/python3.6/site-packages/paramz/parameterized.py in __call__(self, *args, **kw) 51 #import ipdb;ipdb.set_trace() 52 initialize = kw.pop('initialize', True) ---> 53 self = super(ParametersChangedMeta, self).__call__(*args, **kw) 54 #logger.debug("finished init") 55 self._in_init_ = False ~/virtualenvironment_venv/hamopt/lib/python3.6/site-packages/GPy/kern/src/trunclinear.py in __init__(self, input_dim, interval, variances, ARD, active_dims, name) 147 148 self.variances = Param('variances', variances, Logexp()) --> 149 self.add_parameter(self.variances) 150 151 AttributeError: 'TruncLinear_inf' object has no attribute 'add_parameter'
Python 3.6.8 GPy version 1.9.9 paramz 0.9.5
Did you find a solution for this? I seem to have the same issue on GPy.kern.TruncLinear Python 3.7.5 GPy 1.9.9
I ma trying to use the Truncated linear kernels. They do not seem to work
Python 3.6.8 GPy version 1.9.9 paramz 0.9.5