Questions tagged [early-stopping]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
21 views

When to stop the final model training?

Let's say I'm participating in a Kaggle image recognition competition. Firstly, I create a train/validation split and find the good hyperparameters for my model. Here the stopping criterion is when ...
0
votes
1answer
42 views

Early stopping with class weights / sample weights

I'm performing a classification of imbalanced multiclass data using a Neural Network in the TensorFlow framework. Therefore, I'm applying class weights. I would like to apply early stopping to reduce ...
1
vote
0answers
139 views

Keras EarlyStopping callback: Why would I ever set restore_best_weights=False?

The point of EarlyStopping is to stop training at a point where validation loss (or some other metric) does not improve. If I have set ...
0
votes
0answers
36 views

Can we used both cross validation/nested cross validation technique and early stopping with patient at the same time?

Can we use both cross validation/nested cross validation technique and early stopping with patient at the same time? Using early stopping for each (training, validation) fold and get best result of ...
0
votes
0answers
18 views

TF Estimator stop when overfitting?

With TF 1.x is there a way to stop training, when evaluation loss starts increasing? Or is there another way to detect overlearning? I know about the stop_if_no_decrease_hook, but it doesn't consider ...
1
vote
1answer
48 views

NGBoost and overfit - which model is used?

While training an NGBoost model I got: ...
-1
votes
1answer
27 views

Can the use of EarlyStopping() offset overfitting problems caused by validation_split?

Keras gives users the option, while fitting a model, to split the data into train/test samples using the parameter "validation_split. Example: ...
1
vote
1answer
36 views

EarlyStopping based on the loss

When training my CNN model, based on the random initialization of weights, i get the prediction results. In other words, with the same training and test data i get different results every time when i ...
1
vote
1answer
56 views

Daily new data for my neural network, and I want transfer(?) learning

I made my neural network, it is pre-trained for 180 days of data. ...
10
votes
2answers
2k views

What is the proper way to use early stopping with cross-validation?

I am not sure what is the proper way to use early stopping with cross-validation for a gradient boosting algorithm. For a simple train/valid split, we can use the valid dataset as the evaluation ...
5
votes
1answer
2k views

Keras Early Stopping: Monitor 'loss' or 'val_loss'?

I often use "early stopping" when I train neural nets, e.g. in Keras: ...