Closed gbengaoti closed 7 years ago
Also, the output of the regression task(likelihood) ranges from 0 to 2, should I be using a Uniform distribution instead of a Normal distribution for the output? Here is my code:
You can try rescaled Beta distribution. And regress log alpha and log beta
Can you briefly explain the data model for this problem?
sorry, what do you mean by data model?
This is a general usage question, rather than a bug report so I'm going to close it. @gbengaoti I suggest moving this to our Discourse page.
I am using PyMC3 on a regression task on a Vanilla Recurrent Neural network. The problem I am trying to solve is the Addition problem; you have two sequences of length N; the first sequence is a sequence of N numbers between 0 and 1, and the second sequence is a sequence of 0s except in two positions where we have 1s. We need to predict the sum at the two locations in the first sequence when the second sequence is 1. I have not seen an example like this in PyMC3 so I am not very sure of my solution, also, the accuracy is not very good. I am looking for suggestions to make the model better or to verify its correctness. Also, the output of the regression task(likelihood) ranges from 0 to 2, should I be using a Uniform distribution instead of a Normal distribution for the output? Here is my code: