Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Model training with cross validation #78

Open
michaelmacisaac opened this issue Oct 6, 2022 · 1 comment
Open

Model training with cross validation #78

michaelmacisaac opened this issue Oct 6, 2022 · 1 comment

Comments

@michaelmacisaac
Copy link

Kliff community,
I have been developing an NN MLP for SiC and during my MLP development I have modified some of the source code as well as developed some functions that I think might be advantageous for future NN MLP development. A simple one is saving the model only when validation error decreases to mitigate overfitting. Unsure if this functionality exists, but if it doesn't I believe it may be helpful. I'd be happy to share my implementation if you believe it is helpful.

@mjwen
Copy link
Collaborator

mjwen commented Oct 7, 2022

The currently training loop only uses the training set, and saves the model periodically (e.g. every 10 epochs). No validation is performed during the training.

Yes, it is better to save the best N models against a validation set along the training. So, can you please go and make a Pull Request of your implementation?

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

No branches or pull requests

2 participants