Imported from https://github.com/AlexIoannides/lime-interpretable-ml