Test 14: Noise Sensitivity Analysis
Purpose
Evaluate model robustness by testing sensitivity to different types of input noise, including missing values, date shifts, and value perturbations. This helps ensure the model remains stable under real-world data conditions.
Required Inputs
From configs/env.sh:
WORK_DIR: Output directory for resultsMODEL_PATH: Path to the modelREPOSITORY_PATH: Path to the data repositoryTEST_SAMPLES: Path to the test samplesTRAIN_SAMPLES_BEFORE_MATCHING: Path to the training samplesBT_JSON: Bootstrap JSON for cohort filteringBT_COHORT: Bootstrap cohort definitionNOISER_JSON: Path to noiser JSON configTIME_NOISES,VAL_NOISES,DROP_NOISES: Parameters to control the noise levels
Depends On
How to Run
From your TestKit folder, execute:
What This Test Does
- Applies controlled noise to input data using settings from
NOISER_JSON,TIME_NOISES,VAL_NOISES, andDROP_NOISES - Measures the impact of each type of noise on model predictions and performance
- Assesses model stability and identifies potential resolution problems
Output Location
$WORK_DIR/test_noiser/results/time_analysis.csv: Effect of time noise on model performance at different levelsvalue_analysis.csv: Effect of value noise on model performance at different levelsdrop_analysis.csv: Effect of dropping tests/values on model performance at different drop levels
How to Interpret Results
- Review CSV files to see how model metrics change as noise increases
- Use findings to improve model robustness and data preprocessing