yzhao062/pyod

callbacks in autoencoder

Open

#150 创建于 2019年12月16日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)Python (7,762 star) (1,308 fork)batch import
enhancementgood first issuehelp wanted

描述

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.

贡献者指南