vorob_dev#
- moocore.vorob_dev(data, /, sets, *, ref, ve=None)[source]#
Compute Vorob’ev deviation.
- Parameters:
data (
ArrayLike) – Matrix of numerical values that represents multiple sets of points, where each row represents a point.sets (
ArrayLike) – Vector that indicates the set of each point indata.ref (
ArrayLike) – Reference point as a 1D vector. Must be same length as a single point in thedata.ve (
ArrayLike|None, default:None) – Vorob’ev expectation, e.g., as returned byvorob_t(). If not provided, it is calculated by callingvorob_t(data, sets, ref).
- Returns:
float– Vorob’ev deviation.
See also
vorob_tCompute Vorob’ev threshold and expectation.
Notes
For more background, see Binois et al.[1], Molchanov[2], Chevalier et al.[3].
References
Examples
>>> CPFs = moocore.get_dataset("CPFs.txt") >>> vd = moocore.vorob_dev(CPFs[:, :-1], sets=CPFs[:, -1], ref=(2, 200)) >>> vd 3017.12989402326