New method compares machine-learning model's reasoning to that of a human