Conditional probabilities from a neural network

Hi all,

I have built a neural network that predicts the values of a continuous variable using using Edward.

I can make predictions about the expected value of the output variable eg:

res=np.vstack([sess.run(y_post,{x_data: x}) for _ in range(nSamp)])

Is is also possible to use Edward to predict the conditional probability that the the output (res) is greater than a specified threshold value?

eg that for a given input vector what is the probability that will have a value > threshold.

Many thanks for your assistance.

1 Like