Indicator-Relation Tests
- class IndicatorImplication_AcceptanceInterval
Bases:
ITestIndicatorImplicationsIndicator Implication test based on acceptance interval.
- __init__(hyperparams: IProvideHyperparamsForAcceptanceInterval, cit: ITestCI, cit_variance_estimate: IProvideVarianceForCIT, min_regime_fraction: float = 0.15)
Construct from hyper-parameter set and cit-specific dependency-score estimator variance.
See also
This test is based on the
WeakRegime_AcceptanceInterval.- Parameters:
hyperparams (IProvideHyperparamsForAcceptanceInterval) – Hyper-parameter set to use.
cit (ITestCI) – Underlying CIT.
cit_variance_estimate (IProvideVarianceForCIT) – A cit-specific estimate of the dependency-score estimator’s variance.
min_regime_fraction (float) – Minimum fraction of data-points in a regime to be considered.
- is_implied_regime(A_list: list[CIT_DataPatterned], B: CIT_DataPatterned) bool
Implements functionality of interface
ITestIndicatorImplications.Test the indicator implication all test of lhs list are independent \(\Rightarrow\) the test on the rhs is independent.
- Parameters:
A_list (list[CIT_DataPatterned]) – the lhs list of tests
B (CIT_DataPatterned) – the rhs test
- Returns:
The truth-value of the given implication.
- Return type:
bool