Skip to content
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

What does the 'bayes' estimator correspond to in the linear regression model? #3

Open
KamilDre opened this issue Mar 1, 2022 · 0 comments

Comments

@KamilDre
Copy link

KamilDre commented Mar 1, 2022

Hi,

I was just looking at the implementation of the Linear Regression model in BOCS/stat_model/LinReg.m and am a bit confused as to what is exactly happening in the LR.bayesTrain function. Would you mind providing more information on what this function does? To be specific, in lines 107-109, is this a Gaussian prior distribution on the parameters ? Next, how did you derive the posterior distribution for ? that you implemented between lines 117-119? Is this based on some source? If yes, would you mind pointing me to this source so I could learn more about this? Finally, what exactly are aPr and bPr taken as input to the function, and how are they updated in lines 125-126? Once again, a pointer to a source would be much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant