Sensitivity Analysis with Python
Sensitivity Analysis with Python
A version of the mathematical sensitivity analysis case study has been implemented in python. The goal is to demonstrate how the programming concepts of multi-element data structures and iterative algorithms are universal to most computer programming languages. If you were to work through the logic of the development of the sensitivity analysis data product using python and the numpy python library instead of R, you might arrive at code similar to the following.
The following is the analysis.py script designed using similar logic to the development of the analysis.R script in the videos of the sensitivity analysis case study.
The following is the product.py script designed using similar logic to the development of the product.R script in the videos of the sensitivity analysis case study.
Use the following link to download a zip archive file with the full pipeline for the sensitivity analysis created using python. This pipeline includes a VS Code workspace file that functions similar to an RStudio project file in terms of opening the integrated development in the appropriate working directory for the relative paths used in the code.