Skip to content

Conversation

@saraelme
Copy link
Collaborator

@saraelme saraelme commented Dec 1, 2025

Add getting started notebook for Axtreme (a simplification of the basic example).

@saraelme saraelme requested a review from Copilot December 1, 2025 13:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@am-kaiser am-kaiser self-requested a review December 1, 2025 13:38
Copy link
Collaborator

@am-kaiser am-kaiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good job. I have a couple of comments but many of them are just small changes.

# 1. Runs the simulator `N_SIMULATIONS_PER_POINT` times at each training point `x`
# 2. Fits the Gumbel distribution to those samples to estimate `loc(x)` and `scale(x)`
# 3. Provides these fitted parameters to the GP
#
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make_experiment does not actually run anything. It is just a wrapper to simplify the steps you mention in later stages

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it better now?

# 4. Extracts the **maximum** response in each period
# 5. Estimates the **median** of the resulting extreme response distribution
# 6. Repeats under different draws from the GP posterior to capture model uncertainty
#
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds a bit like MarginalCDFExtrapolation is basically brute force just with the surrogate model. That is not quite correct (GPBruteForce is doing that more or less). The procedure for MarginalCDFExtrapolation is:

  1. from the GP get the posterior distributions at the specified env. points
  2. draw samples from posterior distributions
  3. define Gumbel distribution using loc and scale
  4. using inverse CDF we can then calculate QoI for each posterior sample

This is just an explanation for you but maybe a bit too detailed for such a tutorial. While the batching is done and has some effects. It is maybe not super important at this level of abstraction

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the explanation. I tried to simplify the text for this tutorial.

@saraelme
Copy link
Collaborator Author

I have addressed all the review comments. Please take another look! Thanks!

@saraelme saraelme requested a review from am-kaiser December 26, 2025 09:10
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.

3 participants