Using graphs to interpret machine learning models