check_continuity¶
-
paralytics.utils.
check_continuity
(X, thresh=0.5)[source]¶ Checks whether input variable is continuous.
- Parameters
- X: array-like, shape = (n_samples, )
Vector to check for continuity.
- thresh: float, optional (default=.5)
Fraction of non-unique values under which lack of continuity will be reported.
- Returns
- boolean: Whether variable is continuous.