Machine Learning, Artificial Intelligence, Statistics, Data Science, Towards Data Science.
loss function by using negative log posterior distribution. Prior distribution of w try to keep weight values around its mean which is 0 in this case. This process called L2 regularization(Ridge regression) which penalizes marginal w values as it can be seen in loss function. Prior distribution