def median_absolute_deviation(x):
    return np.median(np.abs(x - np.median(x)))
Median absolute deviation (from the median) of the observed values.
dataset/ETHPy150Open cesium-ml/cesium/cesium/science_features/common_functions.py/median_absolute_deviation