Text this: Efficient hardware implementation of interpretable machine learning based on deep neural network representations for sensor data processing