tpot icon indicating copy to clipboard operation
tpot copied to clipboard

TypeError: TPOTOperatorClassFactory() got an unexpected keyword argument 'verbose'

Open QuintessentialChicken98 opened this issue 2 years ago • 0 comments

I'm trying to run this to get an output and it was working early but suddenly stopped working, with the above error.

tpot_clf = TPOTClassifier(generations=5, population_size=50, verbosity=2, offspring_size=50, scoring='accuracy', cv=2, early_stop=10)

Get features ready for feature selection in model training x_cols = [ 'ret','RSI','MFI','VWMA_5','VWMA_10','VWMA_21','VWMA_50','STOCHk_14_3_3','STOCHd_14_3_3','MACD_12_26_9','MACDh_12_26_9','MACDs_12_26_9'] # input features x_cols = [ 'ret','mom3m','mom6m','mom12m','MACD_Buy','MACD_Buy2','MFI', 'RSI_Buy'] x_train = train[x_cols].values y_train = train['tgt_label'].values x_test = test[x_cols].values y_test = test['tgt_label'].values

Training: model = tpot_clf.fit(x_train, y_train)

TypeError: TPOTOperatorClassFactory() got an unexpected keyword argument 'verbose'

QuintessentialChicken98 avatar Apr 29 '22 21:04 QuintessentialChicken98