How do i use m.predict on the test data?


(Naveed Unjum) #1

while making predictions on the actual test data, I am not able to use m.predict on on it. I applyapply_cats on the test data which changes it to categorical data but i am not able to change them into numerical data. how do i do that?


(Sam Lloyd) #2

Have you used proc_df on the test data? That’ll convert it from categoricals to numericals


(Naveed Unjum) #3

proc_df needs a target variable as it returns the target variable as well