added a warning message to data training when date is missing data