Maximum likelihood estimation and loss functions
rish-01.github.io
Maximum likelihood estimation and loss functions
1–10 of 33 posts
Re: Maximum likelihood estimation and loss functions
#2This intuition really helped me understand CE loss.
Re: Maximum likelihood estimation and loss functions
#3To bring things full circle: the cross-entropy loss is the KL divergence. So intuitively, when you're minimizing cross-entropy loss, you're trying to minimize the "divergence" between the true distribution and your model distribution. This intuition really helped me understand CE loss.
https://stats.stackexchange.com/questions/357963/what-is-the...
Re: Maximum likelihood estimation and loss functions
#4Re: Maximum likelihood estimation and loss functions
#5Re: Maximum likelihood estimation and loss functions
#6Re: Maximum likelihood estimation and loss functions
#7>Let pmodel(x;θ) be a parametric family of distributions over a space of parameters ...
and it's straight to the grad-level textbook stuff that breezily assumes familiarity with advanced mathematical notation.
One of the reasons I loved Andrew Ng's machine learning course so much is that it eased you into understanding the notation, terminology, and signposted things like "hey this is really important" vs. "hey this is just a weird notational quirk that mathematicians have, don't worry about it too much."
Re: Maximum likelihood estimation and loss functions
#8Somehow I've never found an explanation for MLE that's intuitive and suitable for someone who didn't take graduate-level statistics already. I'm 100% on board with the introduction (MSE and cross-entropy make total intuitive sense; you can see how they penalize 'wrongness' to an increasing degree) but in the next paragraph we jump right to: >Let pmodel(x;θ) be a parametric family of distributions over a space of para…
Note that you don't need to go deep into measure-theoretic probability or any of that stuff that requires more advanced prior education in math.
Re: Maximum likelihood estimation and loss functions
#9Somehow I've never found an explanation for MLE that's intuitive and suitable for someone who didn't take graduate-level statistics already. I'm 100% on board with the introduction (MSE and cross-entropy make total intuitive sense; you can see how they penalize 'wrongness' to an increasing degree) but in the next paragraph we jump right to: >Let pmodel(x;θ) be a parametric family of distributions over a space of para…
Re: Maximum likelihood estimation and loss functions
#10Somehow I've never found an explanation for MLE that's intuitive and suitable for someone who didn't take graduate-level statistics already. I'm 100% on board with the introduction (MSE and cross-entropy make total intuitive sense; you can see how they penalize 'wrongness' to an increasing degree) but in the next paragraph we jump right to: >Let pmodel(x;θ) be a parametric family of distributions over a space of para…
At first glance likelihood functions might look the same, but you have to think of them as functions of the parameters; it's the data that's fixed now (it's whatever you observed in your experiment). Once that's clear, the calculus starts to makes sense -- using the derivative of the likelihood function w.r.t. the parameters to find points in parameter space that are local maxima (or directions that are uphill in parameter space etc).
So given a model with unknown parameters, the data set you observe gives rise to a particular likelihood function, in other words the data set gives rise to a surface over your parameter space that you can explore for maxima. Regions of parameter space where your model gives a high probability to your observed data are considered to be regions of parameter space that your data suggests might describe how reality actually is. Of course, that's not taking into account your prior beliefs about which regions of parameter space are plausible, or whether the model was a good choice in the first place, or whether you've got enough data, etc.