Skip to content

add regression plots and error histograms for training/validation/testing#302

Merged
wiederm merged 26 commits intomainfrom
dev-add-regression-plots
Nov 4, 2024
Merged

add regression plots and error histograms for training/validation/testing#302
wiederm merged 26 commits intomainfrom
dev-add-regression-plots

Conversation

@wiederm
Copy link
Copy Markdown
Member

@wiederm wiederm commented Oct 27, 2024

Pull Request Summary

Training progression plots

This PR adds regression plots and error histograms for

  • each training/validation set evaluation
  • final validation/test set evaluation
    and logs these plots automatically to Weights&Biases (or tensorboard).

The error is plotted as a histogram with frequency on a log scale to identify outliers better:
image
The regression plot is a simple xy scatter plot:
image

During training we plot:

  • energy/force error histogram
  • energy regression

During validation we plot:

  • energy error histogram
  • energy regression

Monitor outliers in the training and validation set

To better identify outliers, we log to W&B a counter for the k data points with the highest RMSE error. This allows us to match outliers to the histograms if needed.
image

Pull Request Checklist

  • Appropriate docstring(s) added/updated
  • Appropriate .rst doc file(s) added/updated
  • PR is ready for review

@wiederm wiederm self-assigned this Oct 27, 2024
@wiederm wiederm added the enhancement New feature or request label Oct 27, 2024
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Oct 27, 2024

Codecov Report

Attention: Patch coverage is 88.48168% with 22 lines in your changes missing coverage. Please review.

Project coverage is 85.49%. Comparing base (f20c713) to head (8ca7fe3).

Additional details and impacted files

@wiederm wiederm changed the title add regression plots to validation/training set performance logging add regression plots and error histograms for training/validation/testing Oct 28, 2024
@wiederm
Copy link
Copy Markdown
Member Author

wiederm commented Oct 29, 2024

@chrisiacovella , can you plaese review?

@wiederm wiederm merged commit 2a6b208 into main Nov 4, 2024
@wiederm wiederm deleted the dev-add-regression-plots branch November 4, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants