Well, there's a lot of details and I don't think I can cover it all here, but if you're interested in the general framework that I used to approach this problem, take a look at this blog post I wrote last year: https://medium.com/@upal/how-to-use-machine-learning-to-debu.... Let me know if you have any feedback!