Dear OpenTURNS Community,
I wanted to share with you a new web application that I’ve developed during my Engineering PhD at the University of Warwick. This app aims to simplify uncertainty quantification (UQ) and Sensitivity Analysis (SA) for a wide range of models, and I’m excited to share it with anyone who may find it useful.
Try it here: (https://uncertaintycat.streamlit.app) → Best to copy-paste the URL into a new tab as the redirection here is working not as expected.
What Does the App Do?
-
Input Your Own Models: The app allows you to input your own mathematical models directly into an integrated code editor. You can define your models in Python code and there’s no need to write additional code for UQ and sensitivity analyses.
-
Analyses Powered by OpenTURNS: Once your model is entered, the app performs a suite of UQ and sensitivity analyses using OpenTURNS, including:
- Monte Carlo Simulations
- Sobol Indices
- Morris Method
- Taylor Expansion
- Expectation Convergence Analysis
- Correlation Analysis
- HSIC Analysis
-
AI-Driven Interpretation: A standout feature is the AI-driven interpretation of results. The app integrates advanced language models (defaulting to Google’s Gemma 2) to provide insightful explanations and recommendations based on your analysis results.
Benchmark Examples Included
To help you get started, I’ve included several well-known benchmark cases within the app, many of which are familiar to the OpenTURNS community:
- Borehole Function
- Morris Function
- Damped Oscillator
- Truss Model
- Undamped Oscillator
Why Did I Create This App?
During my PhD research, I frequently needed to perform UQ on various models without the overhead of constantly creating new code and re-interpreting the results for my sponsor company. I developed this app to streamline that process, making it easier for anyone to run UQ and sensitivity analyses on their models quickly and efficiently.
Key Features
- User-Friendly Interface: Paste or write your model code directly into the app’s editor or modify one of the existing examples. The app handles the rest, running analyses and generating results without additional coding. Please check the readme on how to define custom models, but hopefully, it is somewhat intuitive. The included examples demonstrate how to set up models using OpenTURNS.
- Powered by OpenTURNS: The backend utilizes OpenTURNS extensively.
- AI Integration for Insights: The app doesn’t just crunch numbers—it interprets them. By integrating AI for results analysis and interpretation, it provides insights and recommendations (with the usual caveats of AI-generated content), improving your understanding of the model’s behavior under uncertainty.
- Free and Accessible: The app is completely free to use. I’m hosting it on Streamlit and maintaining it, and I’m considering making it open source if there’s enough interest from the community? Also, I am using a free-tier access to the LLMs so there can be usage limits - let me know if that is the case?
Get Involved
The idea here is to make UQ more accessible and insightful for wide audiences, especially those who are new to OpenTURNS or UQ in general. Whether you’re a researcher, practitioner, or just curious, I hope this tool proves useful in your work.
Feel free to reach out with any questions, suggestions, or if you’re interested in contributing.
Thank you for your time, and I hope this can help!