Custom sigmoid for mean prior #2179
Unanswered
CecileLeSueur
asked this question in
Q&A
Replies: 1 comment
-
This probably depends a lot on your data. In general, I personally think it's best to avoid custom prior means unless you are sure that your data very closely follows a particular functional form. If your data does indeed look very sigmoidal, you should try initializing the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm wondering how I could define a sigmoid function as prior for the mean?
Especially, I'm interested in implementing the following function :
S(x) = p + [ (1-p) / ( 1 + exp( b * (x-a) ) ) ]
I've been trying several implementations, but each time, the estimated parameters of the sigmoid are such that the sigmoid is almost flat, i.e. it tends towards the constant mean (I've tried with the exact GP regression and with the VI).
Any ideas why? Do you think it might be linked to the optimisation algorithm which favours a constant mean? If yes, how could I fit the optimal sigmoid simultaneously than the covariance hyperparameters?
Could you also please help me writing the definition of this sigmoid function, this would be very helpful? :)
Thanks a lot for the help!! :)
Beta Was this translation helpful? Give feedback.
All reactions