Visual diagnostics for explaining machine learning models