original_docstring:  Calculate ELBO objective function value for provided state.
  
          Returns
          -------
          L : float
              Represents sum of all terms in ELBO objective.
          
docstring: Calculate ELBO objective function value for provided state.
  Returns
  
  L : float
  Represents sum of all terms in ELBO objective.
docstring_tokens: Calculate ELBO objective function value for provided state . Returns L : float Represents sum of all terms in ELBO objective .
code: def calc_evidence(self, Data, SS, LP, **kwargs):
          """ Calculate ELBO objective function value for provided state.
  
          Returns
          -------
          L : float
              Represents sum of all terms in ELBO objective.
          """
          if SS.hasELBOTerms():
              Lentropy = SS.getELBOTerm('Hvec').sum()
              Lalloc = SS.getELBOTerm('L_alloc')
          else:
              Lentropy = self.L_entropy(Data, LP, returnVector=0)
              Lalloc = self.L_alloc(Data, LP)
          if SS.hasAmpFactor():
              Lentropy *= SS.ampF
              Lalloc *= SS.ampF
          return Lalloc + Lentropy
code_tokens: def calc_evidence ( self , Data , SS , LP , ** kwargs ) : if SS . hasELBOTerms ( ) : Lentropy = SS . getELBOTerm ( 'Hvec' ) . sum ( ) Lalloc = SS . getELBOTerm ( 'L_alloc' ) else : Lentropy = self . L_entropy ( Data , LP , returnVector = 0 ) Lalloc = self . L_alloc ( Data , LP ) if SS . hasAmpFactor ( ) : Lentropy *= SS . ampF Lalloc *= SS . ampF return Lalloc + Lentropy
short_docstring: Calculate ELBO objective function value for provided state.
short_docstring_tokens: Calculate ELBO objective function value for provided state .
comment: """ Calculate ELBO objective function value for provided state.
  
          Returns
          -------
          L : float
              Represents sum of all terms in ELBO objective.
          """