mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 20:12:38 +02:00
typo corrected for negative constrains
This commit is contained in:
parent
34edbd1459
commit
a286326e23
1 changed files with 1 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ class negative_exponent(transformation):
|
|||
def __init__(self):
|
||||
self.domain= 'negative'
|
||||
def f(self,x):
|
||||
return -np.exp(self.x)
|
||||
return -np.exp(x)
|
||||
def finv(self,x):
|
||||
return np.log(-x)
|
||||
def gradfactor(self,f):
|
||||
|
|
@ -66,7 +66,6 @@ class negative_exponent(transformation):
|
|||
def __str__(self):
|
||||
return '(-ve)'
|
||||
|
||||
|
||||
class logistic(transformation):
|
||||
def __init__(self,lower,upper):
|
||||
self.domain= 'bounded'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue