https://medium.com/@monocosmo77/updated-concepts-in-outlier-detection-part5-machine-learning-2023-bbbe2721199f