我正在尝试使用 pycaret 创建一个模型,就像:
from pycaret.classification import *
clf1 = setup(data = dt, target = 'group')
lr = create_model('lr')
然后我得到:
AttributeError: 'Simple_Imputer' object has no attribute 'fill_value_categorical'
因此,在此处之后,我添加了:
clf1 = setup(data = dt, target = 'group', imputation_type='iterative' )
lr = create_model('lr')
然后我得到:
AttributeError: 'Make_Time_Features' object has no attribute 'list_of_features'
我的 sklearn 版本是 0.23.2,pycaret 是 2.3.2