Closed jimthompson5802 closed 6 years ago
Currently, the ModelTrainer for regression prediction creates np.array of shape (#rows,). This causes errors when writing the predicitons for the test data set. Need to reshape predictions from (#row,) to (#row,1).
Added .reshape(-1,1) to all regression predict sha1: f7f89e17a3ac773e7dfac62232f5fbbff69e50a0
Currently, the ModelTrainer for regression prediction creates np.array of shape (#rows,). This causes errors when writing the predicitons for the test data set. Need to reshape predictions from (#row,) to (#row,1).