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

Allow different metrics as objective function and add a stopping criteria for the calibration #8

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

CyrilThebault
Copy link

  • I updated the calculate_sim_stats.py script to be able to calculate different metric as objective function (e.g. NSE, KGE, RMSE, MAE).
  • I added the stopping_criteria.py script in order to stop the calibration process if a stopping criteria is reached (typically if the metrics doesn't improve anymore over the few last saves). This script is called in save_best.sh. I also added some lines to check if the 'OstQuit.txt' file is in the folder and remove it if TRUE to be able to restart the calibration process without any issue due to a previous run that would have been stopped with this new feature.
  • I updated the control_active files to consider these changes

@andywood
Copy link

andywood commented Aug 15, 2024

Are the changes related to stopping criteria backward compatible? ie, if a user doesn't care to include that in their calibration workflow, is there an easy option to skip it?

@CyrilThebault
Copy link
Author

CyrilThebault commented Aug 15, 2024 via email

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

Successfully merging this pull request may close these issues.

2 participants