Imported from https://github.com/wittawatj/interpretable-test