Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Avoid early stopping while fitting #71

Open
talhaanwarch opened this issue Jul 23, 2021 · 1 comment
Open

Avoid early stopping while fitting #71

talhaanwarch opened this issue Jul 23, 2021 · 1 comment

Comments

@talhaanwarch
Copy link

Here is my code

config = deeptable.ModelConfig(nets=deepnets.DeepFM)
dt = deeptable.DeepTable(config=config)
model, history = dt.fit(train, y_train,callbacks=None, epochs=200)

I don't want to have early stopping, what should I do?

This might help

2 class detected, {0, 1}, so inferred as a [binary classification] task
Preparing features taken 30.83131170272827s
Imputation taken 18.713809967041016s
Categorical encoding taken 0.0s
Injected a callback [EarlyStopping]. monitor:val_accuracy, patience:1, mode:max
1 Physical GPUs, 1 Logical GPUs
@lixfz
Copy link
Collaborator

lixfz commented Sep 1, 2021

You can set ModelConfigearlystopping_patience to a larger number:

config = deeptable.ModelConfig(nets=deepnets.DeepFM, earlystopping_patience=999)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants