EpistasisLab / EpistasisLab/tpot

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

Open
#1,248 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
10.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

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'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.