mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
fixes added for gradchecking
This commit is contained in:
parent
a13d6ca894
commit
9eef4ebded
1 changed files with 2 additions and 0 deletions
|
|
@ -435,6 +435,8 @@ class Model(Parameterized):
|
|||
param_list = range(len(x))
|
||||
else:
|
||||
param_list = self._raveled_index_for(target_param)
|
||||
if self._has_fixes():
|
||||
param_list = param_list[self._fixes_]
|
||||
if not np.any(param_list):
|
||||
print "No free parameters to check"
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue