Fault-tolerance in Time Sensitive Network with Machine Learning Model