Transcription
Fit a line through some data, and regression hands you back a single answer, one slope and one intercept, the best fit.
But Bayesian linear regression asks a different question, which lines are believable? It starts before the data with a whole cloud of candidate lines called the prior, where every line you might believe gets a probability.
Then Bayes' rule takes over. The posterior is proportional to the likelihood times the prior, so your new belief is just the evidence times your old belief.
And now, watch as the points arrive one by one. Every single observation reshapes that belief, and the cloud tightens around the lines that actually explain the data.
So, when it's time to predict, you get this whole band, narrow where the data lives, and honestly, wider where it doesn't. And the single best line is just the middle of it. The answer was never one line, it's a distribution over lines.