コード例 #1
0
ファイル: parameterized.py プロジェクト: andymiller/GPy
 def constrain_positive(self, regexp, warning=True):
     """ Set positive constraints. """
     self.constrain(regexp, transformations.logexp(), warning=warning)
コード例 #2
0
ファイル: parameterised.py プロジェクト: jaidevd/GPy
 def constrain_positive(self, regexp):
     """ Set positive constraints. """
     self.constrain(regexp, transformations.logexp())
コード例 #3
0
ファイル: parameterized.py プロジェクト: mathewzilla/GPy
 def constrain_positive(self, regexp):
     """ Set positive constraints. """
     self.constrain(regexp, transformations.logexp())