https://medium.com/@monocosmo77/working-with-galois-representations-part3-machine-learning-2024-876964487955