code: def log_q(self, z, alpha, beta):
      return (
          (alpha - 1) * tf.log(z)
          - beta * z
          + alpha * tf.log(beta)
          - tf.lgamma(alpha)
      )
  
file_path: cornac/cornac/models/pcrl/pcrl.py
imports: import numpy
  import scipy.sparse
  import scipy
  import tensorflow
label_desc: Use image node_id 3 for calling the PCRL_ obj's underlying member method code with example usage: obj.log_q(z, alpha, beta) and returns: unknown