pyuncertainnumber.calibration.iterative_filtering¶
Functions¶
|
Performs the iterative filtering calibration method on a given function with uncertain inputs. |
Module Contents¶
- pyuncertainnumber.calibration.iterative_filtering.iterative_filter(func: callable, variables: dict, nsamples: int, thresholds: list, conditions: dict, folder: str, max_repetitions: int = 3, index: list = None, controls: list = None)¶
Performs the iterative filtering calibration method on a given function with uncertain inputs.
- Parameters:
func (callable) – the function being analysed and used to get the outputs.
variables (dict) – a dictionary that contains the names and bounds of all variables within the function.
nsamples (int) – the number of samples taken for each variable.
thresholds (list) – the set of threshold filter values that the conditions will need to meet.
conditions (dict) – a dictionary of ‘correct’ values that the outputs of interest will need to meet.
folder (str) – where all outputs of this function will be stored in.
max_repetitions (int) – how many repetitions are allowed at a singular threshold value before stopping the process.
index (list) – a list of indexes referring to the list of variables that are being filtered.
controls (list) – a list of indexes referring to the variables whose values are unique to their condition and must be generated separately.