Enviar por SMS: Improved machine classification algorithm for electric rail circuits in train warning systems