I am currently trying to use the pycaret library in order to identify the best model for my data, however, I am getting this error message "AttributeError: 'OneHotEncoder' object has no attribute 'get_feature_names'"
This is the code that I am currently using
from pycaret.regression import *
df_caret = pd.concat([data_math, data_por], ignore_index = True) #This corresponds to my df
df_caret.columns
var_cat = ['school', 'sex', 'address', 'famsize', 'Pstatus',
'Mjob', 'Fjob', 'reason', 'guardian','schoolsup', 'famsup', 'paid', 'activities', 'nursery',
'higher', 'internet', 'romantic']
experimento = setup(df_caret,target='G3',categorical_features=var_cat,fold_shuffle=True)