Log signatures in machine learning