Distribution Density, Tails, and Outliers in Machine Learning: Metrics and Applications