Machine Learning, Agile, Markov Chains, Bayesian Statistics, TensorFlow.
probabilistic library created by Google import numpy as np import pandas as pd import tensorflow as tf import tensorflow_probability as tfp lamb = 2e-1 def log_likelihood(x, mu, sigma2): 'The (negative) log likelihood function for one sample' return (tf.log(x)-mu)**2/2.0/sigma2 def