array = [[]]
for i in range(len(test_data)):
d = np.array(test_data.loc[i,test_data.columns],ndmin=2)
value = loaded_model.predict(d)
array.append(value)
My goal is to predict values in the test.csv files by using the devoloped model. I tried the above code which does not seem to be working. Getting the value error.