Skip to content

Conversation

@amirxdbx
Copy link

This PR adds a new machine-learning-based Ground Motion Model for Turkey
(Mohammadi et al., 2023) implemented as a GSIM in the OpenQuake hazard library.

Key features:
• Implements the vectorized compute() API (no legacy methods).
• Wraps the official XGBoost models exported to ONNX runtime.
• Includes standard deviations (sigma, tau, phi) from stds.csv.
• Includes verification tables and regression tests.
• Documentation updated in hazardlib.gsim.rst.
• Changelog updated.

The GSIM-specific tests pass successfully.

@CB-quakemodel
Copy link
Contributor

Dear Amir,

Many thanks for providing an implementation of your machine-learning based GSIM. I will do my best to review this model by the end of the month.

One thing I notice immediately, is that there are far too many .onnx files added in the current approach. You need to adjust the implementation to store the cached ONNX sessions for each intensity measure within a single file (1 per period is simply too many). Making this change would be much appreciated on our end.

Perhaps @micheles can give some input on this too.

Thanks,

Christopher

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