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

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?

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

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