yzhao062/pyod

callbacks in autoencoder

Open

#150 aperta il 16 dic 2019

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)Python (1308 fork)batch import
enhancementgood first issuehelp wanted

Metriche repository

Star
 (7762 star)
Metriche merge PR
 (Merge medio 4g 17h) (14 PR mergiate in 30 g)

Descrizione

How can i implement callback parameter in fit moder Autoencoder ? There is not parameter.

from keras.callbacks.callbacks import EarlyStopping cb_earlystop = EarlyStopping(monitor='val_loss', min_delta=0, patience=0, verbose=0, mode='auto', baseline=None, restore_best_weights=False) pyod_model.fit(scaler, callbacks=[cb_earlystop])

TypeError: fit() got an unexpected keyword argument 'callbacks'

Can you implement this parameter? Its very usefull for monitor, early stop and another cases.

Guida contributor