Answers.Body: <p>I have always seen the negative odd-logs ration when doing similar work. As it is now, I don't think you are constraining the splines appropriately <a href="https://www.quantitativeskills.com/sisa/statistics/two2hlp.htm#LogOdds" rel="nofollow noreferrer">Link to reading</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-13T19:35:41.837Z
Answers.LastActivityDate: 2020-01-13T19:35:41.837Z
Answers.UserDisplayName: Ryan Marinelli
Body: <p>I am using a normalizing flow (Neural Spline Flows) to approximate a probability. After some training, the average loss is around 0.5 (so the logarithm of the probability = -0.5). However, when I am trying it on some new test data, I am getting some values of the logarithm of the probability bigger than zero, which would mean that the probability for that element is bigger than one (which doesn't make sense). </p>
  
  <p>Does anyone know what could cause this? Isn't the flow supposed to keep all the probabilities below 1 automatically?</p>
  
Tags: <probability><probability-distribution>
Title: Why am I getting the logarithm of the probability bigger than zero when using Neural Spline Flows?
UserDisplayName: JohnDoe122
ThreadText: # Why am I getting the logarithm of the probability bigger than zero when using Neural Spline Flows?
  
  (Asked by: username_0 on 2020-01-11)
  
  I am using a normalizing flow (Neural Spline Flows) to approximate a probability. After some training, the average loss is around 0.5 (so the logarithm of the probability = -0.5). However, when I am trying it on some new test data, I am getting some values of the logarithm of the probability bigger than zero, which would mean that the probability for that element is bigger than one (which doesn't make sense).
  
  Does anyone know what could cause this? Isn't the flow supposed to keep all the probabilities below 1 automatically?
  
  **Tags:** probability, probability-distribution
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-01-13. Score: 0
  
  I have always seen the negative odd-logs ration when doing similar work. As it is now, I don't think you are constraining the splines appropriately [Link to reading](https://www.quantitativeskills.com/sisa/statistics/two2hlp.htm#LogOdds)
  
  
  ---
  
  