Getting Started#
The Natural Robustness Toolkit (NRTK) helps you test AI model robustness by simulating real-world operational conditions. Quickly install, run, and link your scenario to the right tools.
🚀 Get Started in 2 Minutes
1. Install NRTK
pip install nrtk
pip install nrtk[dev1,dev2,...]
See Perturber Dependencies for optional dev extras.
2. Run a Sample Perturbation
from nrtk.impls.perturb_image.environment import HazePerturber
img_out = HazePerturber(img_in)
See example outputs in our Visual Perturbation Gallery.
🗺️ Map Your Risk to the Right Tool
Have a specific operational condition or test scenario?
Use the Interactive Operational Risk Matrix to discover which perturbations represent your mission environment and conditions.