コード例 #1
0
ファイル: operators.py プロジェクト: xiaoxi0920/pymc3
 def __init__(self, approx, beta=1.0):
     Operator.__init__(self, approx)
     self.beta = pm.floatX(beta)
コード例 #2
0
ファイル: operators.py プロジェクト: aasensio/pymc3
 def __init__(self, approx, temperature=1):
     Operator.__init__(self, approx)
     self.temperature = temperature
コード例 #3
0
ファイル: operators.py プロジェクト: xiaoxi0920/pymc3
 def __init__(self, approx, temperature=1):
     Operator.__init__(self, approx)
     self.temperature = temperature
コード例 #4
0
 def __init__(self, approx):
     if not isinstance(approx, pm.Empirical):
         raise ValueError(
             'approx should be an Empirical approximation, got %r' % approx)
     Operator.__init__(self, approx)
コード例 #5
0
 def __init__(self, approx):
     Operator.__init__(self, approx)
     self.input_matrix = tt.matrix('KSD input matrix')
コード例 #6
0
 def __init__(self, approx):
     if not isinstance(approx, pm.Histogram):
         raise ValueError('approx should be a Histogram, got %r' % approx)
     Operator.__init__(self, approx)
コード例 #7
0
 def __init__(self, approx, temperature=1):
     Operator.__init__(self, approx)
     self.temperature = temperature
     self.input_matrix = tt.matrix('KSD input matrix')
コード例 #8
0
ファイル: operators.py プロジェクト: alexander-belikov/pymc3
 def __init__(self, approx, beta=1.):
     Operator.__init__(self, approx)
     self.beta = pm.floatX(beta)