mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
Revert "merge devel mrd"
This reverts commit3f625a9347, reversing changes made todc6faeb303.
This commit is contained in:
parent
3f625a9347
commit
0c8b83454f
8 changed files with 61 additions and 202 deletions
|
|
@ -13,7 +13,6 @@ import priors
|
|||
from ..util.linalg import jitchol
|
||||
from ..inference import optimization
|
||||
from .. import likelihoods
|
||||
import re
|
||||
|
||||
class model(parameterised):
|
||||
def __init__(self):
|
||||
|
|
@ -240,7 +239,7 @@ class model(parameterised):
|
|||
for s in positive_strings:
|
||||
for i in self.grep_param_names(s):
|
||||
if not (i in currently_constrained):
|
||||
to_make_positive.append(re.escape(param_names[i]))
|
||||
to_make_positive.append(param_names[i])
|
||||
if warn:
|
||||
print "Warning! constraining %s postive"%name
|
||||
if len(to_make_positive):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue