voiage.core.utils
Utility functions for the voiage library.
Functions
Section titled “Functions”- check_input_array Validate a NumPy array against expected dimensions, dtype, and shape.
- calculate_net_benefit Calculate net monetary benefit (NMB).
- get_optimal_strategy_index Determine the optimal strategy for each PSA sample.