Got it. As another question, how do I maintain the mapping of indexes between the test and train data set for a nominal predictor?
Got it. As another question, how do I maintain the mapping of indexes between the test and train data set for a nominal predictor?