I have defined an Early Stop callback for the Keras LSTM policy and I pass it to the Agent as follows:
kwargs["callbacks"] = [ EarlyStopping(monitor="val_acc", mode="max", min_delta=0.2, patience=2) ] agent.train(training_data, **kwargs)
However, it does not work. Any idea on what I am doing wrong?
L-P from Dialogue