I have been trying to solve the Titanic prediction problem on Kaggle using the method of Lesson 1, I used the Random Forest Classifier instead of Regressor. I have been having problem using the proc_df function on the test data set.
I get the following error when I try to query the shape of the test data frame after doing proc_df on it:
AttributeError Traceback (most recent call last)
in ()
1 X_test_actual = proc_df(df_test)
----> 2 X_test_actual.shape
AttributeError: ‘list’ object has no attribute ‘shape’
Using predict method of the previously generated classifier doesn’t work either.
My kernel is available at https://www.kaggle.com/dtrikkadeeri/fastai-ml1-on-titanic
I can add more details if required to trace my issue. Help to solve this would be greatly appreciated.