Machine Learning, Agile, Markov Chains, Bayesian Statistics, TensorFlow.
tf.constant(value=0.0) sigma2 = tf.exp(1.0) probability_function = get_unnormalized_log_probability(data) probability = probability_function(x, mu, sigma2) init = tf.global_variables_initializer() with tf.Session() as sess: sess.run(init) self.assertTrue(abs(-2-probability.eval())<1e-5)