Skip to content

Update unsequa tutos - #1107

Merged
luseverin merged 6 commits into
developfrom
feature/update_unsequa_tuto
Nov 10, 2025
Merged

Update unsequa tutos#1107
luseverin merged 6 commits into
developfrom
feature/update_unsequa_tuto

Conversation

@luseverin

@luseverin luseverin commented Nov 5, 2025

Copy link
Copy Markdown
Collaborator

Changes proposed in this PR:

  • Update tuto climada_engine_unsequa_helper
  • Update tuto climada_engine_unsequa

Only minor changes here (typos, updating links and refs), although some things in climada_engine_unsequa were broken (e.g. linked to the data API).

PR Author Checklist

PR Reviewer Checklist

sampled. For example, Hazards outputs from dynamical models
for different input factors.
Uniformly sample one element from the provided list of hazards.
For example, Hazards outputs from dynamical models for different input factors.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This would be incorrect phrasing. In general, more than one sample is drawn in total, althought for each global sample, one element is chosen. Maybe ?

Hazard is uniformly sampled the provided list of hazards.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I have rephrased so that this is clearer.

"| param_labels | list(str) | Name of all the uncertainty input parameters|\n",
"| problem_sa | dict | The description of the uncertainty variables and their distribution as used in [SALib](https://salib.readthedocs.io/en/latest/basics.html). |\n",
"| sensitivity_method | str | Sensitivity analysis method from [SALib.analyse](https://salib.readthedocs.io/en/latest/api.html) Possible choices: 'fast', 'rbd_fact', 'morris', 'sobol', 'delta', 'ff'. Note that in Salib, sampling methods and sensitivity analysis methods should be used in specific pairs.|\n",
"| sensitivity_method | str | Sensitivity analysis method from [SALib.analyse](https://salib.readthedocs.io/en/latest/api.html) Possible choices: 'sobol', 'fast', 'rbd_fast', 'morris', 'dgsm', 'ff', 'pawn', 'rhdm', 'rsa', 'discrepancy', 'hdmr'. Note that in Salib, sampling methods and sensitivity analysis methods should be used in specific pairs.|\n",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I do not see it in this PR, but where the allowed pairing options updated in the respective .py files?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, they are up to date. I think this was done in the unsequa update PR but I forgot to update this tutorial back then.

@chahank

chahank commented Nov 7, 2025

Copy link
Copy Markdown
Member

Thanks for the update!

I am not sure that the new sampling formulation is correct, as to me it suggest that a single sample is drawn, which is incorrect.

@chahank chahank self-assigned this Nov 7, 2025

@chahank chahank left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! Please merge.

@luseverin
luseverin merged commit 26b6ace into develop Nov 10, 2025
17 of 19 checks passed
@luseverin
luseverin deleted the feature/update_unsequa_tuto branch November 10, 2025 07:47
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