ML Wiki
Machine Learning Wiki - A collection of ML concepts, algorithms, and resources.

Mean

Mean

  • Median is a measure of the center.
  • But there is another measure - Mean or average value
    $\text{mean} = \cfrac{1}{n} \sum x_i$
    Where $n$ - number of data values, and $x_i$ - each data value.

Robustness

  • Mean is not robust (susceptibile to outliers), but median is.
  • 10% trimmed mean - mean calculated from 10% to 90% of our data, more robust to extreme values

10% trimmed mean in R

mean(..., trim=0.1)