Optimization of a gyroid structure using data science methods