more changes

This commit is contained in:
Ricardo 2013-06-24 18:15:16 +01:00
parent 7a3eb369be
commit e2ebfe522e
2 changed files with 36 additions and 14 deletions

View file

@ -81,9 +81,15 @@ class Log_ex_1(LinkFunction):
$$
"""
def transf(self,mu):
"""
function: output space -> latent space
"""
return np.log(np.exp(mu) - 1)
def inv_transf(self,f):
"""
function: latent space -> output space
"""
return np.log(np.exp(f)+1)
def dinv_transf_df(self,f):