BOCS icon indicating copy to clipboard operation
BOCS copied to clipboard

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

Open KamilDre opened this issue 2 years ago • 0 comments

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!

KamilDre avatar Mar 01 '22 14:03 KamilDre