Live data from Hacker News

A Gentle Introduction to Bayes’ Theorem for Machine Learning

machinelearningmastery.com

1–10 of 36 posts

Re: A Gentle Introduction to Bayes’ Theorem for Machine Learning

#4
change my mind: bayes in practice is just a way to regularize your model and the language of bayes makes it seem principled but really you could use literally any regularizer and it would work almost just as well. i believe this because ultimately you're always going to minimize loglikelihood anyway (and so the prior becomes the regularization term).

Re: A Gentle Introduction to Bayes’ Theorem for Machine Learning

#7

change my mind: bayes in practice is just a way to regularize your model and the language of bayes makes it seem principled but really you could use literally any regularizer and it would work almost just as well. i believe this because ultimately you're always going to minimize loglikelihood anyway (and so the prior becomes the regularization term).

Counterpoint: regularization is just a way of specifying a Bayesian prior for maximum a posteriori estimation.

Re: A Gentle Introduction to Bayes’ Theorem for Machine Learning

#8

change my mind: bayes in practice is just a way to regularize your model and the language of bayes makes it seem principled but really you could use literally any regularizer and it would work almost just as well. i believe this because ultimately you're always going to minimize loglikelihood anyway (and so the prior becomes the regularization term).

Well you could draw samples of the parameters with a Bayesian setup via MCMC or get a distribution over them via a variational approximation, rather than getting some sort of maximum likelihood (MAP whatever) value for the parameters of the model via solving an optimization problem. This seems much more general (and practically useful). So I think it is the other way around regularizers are just priors (that you arrived at somehow).

Re: A Gentle Introduction to Bayes’ Theorem for Machine Learning

#9

Always nice to see a little piece of python code show up whenever one of these ML blogs get posted to HN. It's becoming, or has become, the lingua franca of this field.

I'm very excited for Tensorflow for Swift, personally. The type system will make development so much more pleasant IMO. Judging by the way things have been lately though, I imagine that by the time TF for Swift is ready I'll be reaching for PyTorch at every opportunity anyways...

Re: A Gentle Introduction to Bayes’ Theorem for Machine Learning

#10
post #9

Always nice to see a little piece of python code show up whenever one of these ML blogs get posted to HN. It's becoming, or has become, the lingua franca of this field.

I'm very excited for Tensorflow for Swift, personally. The type system will make development so much more pleasant IMO. Judging by the way things have been lately though, I imagine that by the time TF for Swift is ready I'll be reaching for PyTorch at every opportunity anyways...

I think the fact that Swift has first-class automatic differentiation is an even bigger deal than the fact that it is strongly-typed. Here is an interesting write-up about it...

https://gist.github.com/rxwei/30ba75ce092ab3b0dce4bde1fc2c9f...

Post reply on HN