mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 20:12:38 +02:00
NegativeLogexp Pep8ted
This commit is contained in:
parent
269cc84253
commit
3b40a47cbc
2 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ class Logexp(Transformation):
|
|||
def __str__(self):
|
||||
return '(+ve)'
|
||||
|
||||
class Negative_logexp(Transformation):
|
||||
class NegativeLogexp(Transformation):
|
||||
domain = NEGATIVE
|
||||
def f(self, x):
|
||||
return -Logexp.f(x) # np.log(1. + np.exp(x))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue