Machine Learning and Statistical Analysis of Complex Mathematical Models: An Application to Epilepsy