Weak-Regime Tests

class WeakRegime_AcceptanceInterval

Bases: ITestWeakRegime

Acceptance-Interval test implementation of the weak-regime test ITestWeakRegime interface as used by mCIT.

__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.

Parameters:
has_true_regime(data: CIT_DataPatterned) bool

Implements functionality of interface ITestWeakRegime.

Test if the non-homogenous data supplied by the query contains a true or just a weak regime.

Parameters:

data (CIT_DataPatterned) – The non-homogenous data to inspect.

Returns:

The truth-value indicating if the data-set is beliefed to feature a true regime.

Return type:

bool