-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add location parameters for coefficient specific priors #59
Comments
This should be possible without modification to the code-base, although I have yet to check it. Let's say you want to regularize Please give this a try. If you run into issues, I can carve out some time to put together a small example. |
Hi @msuchard, @egillax and I put together a script following your method.
Result of script below is:
EDIT: Clean up script. |
Hi, @msuchard,
Me and @lhjohn are working on transfer learning at ErasmusMC. One of the methods we are interested in evaluation is for linear models and is called the prior method. It involves first training a model on a large source database as usual. Then for a target database which would not have as much data we train a regularized regression model, but instead of pushing the coefficients toward zero we push them towards the coefficients of the source model. I believe this is equivalent to having coefficient specific priors with the location parameter as the coefficient from the source model.
I can already deduce from the Cyclops source code (correct me if I'm wrong) that it's already possible to have coefficient specific priors with different variances. My question is, do you think it would be complicated to add location/scale information for the priors as well? This is something me and @lhjohn are interested in implementing, for example for the laplace prior, if it doesn't require extensive changes to the code and if we can get some guidance.
Although we are mostly thinking about prediction I think this can benefit the community everywhere where we are working in the small data regime.
Regards,
Egill Fridgeirsson
The text was updated successfully, but these errors were encountered: