https://medium.com/@jsgastoniriartecabrera/parameter-optimization-brute-force-optimization-auto-optimization-1-26a67e17922c