Skip to content

Validation data during training for early stopping #2934

Discussion options

You must be logged in to vote

Hello, thank you for your comment. For now in aeon we do not support fit taking validation data for deep learners as we want to keep consistency with other classifiers where fit just takes X and y. However a future possible addition could be to add to BaseDeepClassifier a parameter to do a cross validation split in case someone uses a callback, however it might not be a very pretty solution.

One thing the user could do, given you can add any callback using the callbacks parameter, is to implement a custom keras callback that does the validation split and then whatever type of checking you would need, such as early stopping. However you would have to give the training data X and y (that yo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Meganorddeluxe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
deep learning Deep learning related
2 participants