Modified Naive Bayes Script so testing and training data have indices of corresponding closing times