Educational application of artificial intelligence for diagnosing the state of railway tracks