On the impact of smart sensor approximations on the accuracy of machine learning tasks