A ML-based approach to sports analytics