Skip to main content
flawr's user avatar
flawr's user avatar
flawr's user avatar
flawr
  • Member for 10 years, 8 months
  • Last seen more than a week ago
  • in the middle of, but not in the EU
awarded
revised
Name of mean- or median-like values?
added 57 characters in body
Loading…
answered
Loading…
awarded
awarded
comment
Symmetric distribution with finite Mean but no Variance
@MeesdeVries That is a nice construction, thanks! Is it clear though that these properties still hold in this construction (mean exists, variance does not)?
comment
Symmetric distribution with finite Mean but no Variance
I know it's a little bit nitpicky, but maybe symmetry around the mean is not the best way to describe it, if you e.g. consider a shifted Cauchy distribution:)
comment
Symmetric distribution with finite Mean but no Variance
@Dave Thanks for clarifying, I just used the function-notion of symmetry, I wasn't aware of the one used in stats, but I guess the idea is the same.
comment
Symmetric distribution with finite Mean but no Variance
Thanks a lot! Regarding the mean having to be zero: If the PDF is symmetric in the sense that $f(x) = f(-x)$ for all $x$, then the mean should be zero: $\begin{align*} \\ \mu &= \int_{-\infty}^\infty x f(x) dx \\ &= \int_{-\infty}^0 x f(x)dx + \int_0^\infty x f(x)dx \\&= -\int_{\infty}^0 (-x)f(-x)dx + \int_0^\infty x f(x)dx \\&= -\int_0^\infty x f(-x)dx + \int_0^\infty x f(x)dx \\&= -\int_0^\infty x f(x)dx + \int_0^\infty x f(x)dx = 0. \end{align*}$
comment
Symmetric distribution with finite Mean but no Variance
Thanks, I didn't know this class of distributions!
awarded
Loading…
awarded
awarded
awarded
comment
Dice-coefficient loss function vs cross-entropy
@shimao By "ugly" you just mean that the gradients can explode, is that correct?
awarded
awarded
comment
How to design high quality encoder-decoder pairs for images?
What I forgot to add is that at the very start of the encoder I ususally used a convolution with a larger kernel (like 5x5 or 7x7) to increase the number of channels to e.g. something between 32 and 128, and again one at the end of the decoder to reduce the number of channels again. thanks a lot for taking the time to look in to this!