0

I am trying to predict the mean and variance of a random variable in each step of a recurrent neural network. I need to train this model by using negative binomial log-likelihood as the loss function where the model learns to output mean and variance and each time step which defines the distribution. Can someone please help me with implementing this loss function in tensorflow.

Shamane Siriwardhana
  • 3,951
  • 6
  • 33
  • 73
  • Can you elaborate it please? and also implementing custom loss function is pretty straightforward https://stackoverflow.com/questions/34875944/how-to-write-a-custom-loss-function-in-tensorflow – ARAT Jan 14 '19 at 05:25
  • Can you please refer to the loss function mention in - https://arxiv.org/pdf/1704.04110.pdf . Page 4 equation 2 – Shamane Siriwardhana Jan 14 '19 at 05:37

0 Answers0