Short-term traffic prediction under normal and abnormal conditions