| ... | ... | @@ -102,11 +102,11 @@ y_p(x, w) = w_0 + w_1x_1 |
|
|
|
```
|
|
|
|
Herein, we will represent the the probabilities for the weights in terms of Gaussian distributions. If we withdraw weights from these prior information (assumed), what we end up with is alternative linear models:
|
|
|
|
|
|
|
|
|
|
|
|
<img src="uploads/c785c19d15ea93d24d4ca41e01bf9848/br1.png" width="600">
|
|
|
|
|
|
|
|
At this stage, the model is not trained at all. What happens as we see examples? Lets show the model the very first example (blue circle below). In the Bayesian learning, we use the likelihood function, p(y|x,w) -- probability of getting the true y value given the wights and the example. With the example we pass, the calculated likelihood is shown below (left). The true weights are shown as "+" for comparison. Here, the calculated likelihood estimates that the weights of the model should be around this zone. By using the likelihood and our prior, we now calculate the posterior probabilities, given in the middle:
|
|
|
|
|
|
|
|
<img src="uploads/47f290dd30648b9cf47e1c597fc45a11/br2.png" width="500">
|
|
|
|
<img src="uploads/47f290dd30648b9cf47e1c597fc45a11/br2.png" width="600">
|
|
|
|
|
|
|
|
## Additional Sources
|
|
|
|
|
| ... | ... | |
| ... | ... | |