vorob_dev#
- moocore.vorob_dev(data, /, ref, *, ve=None)[source]#
Compute Vorob’ev deviation.
- Parameters:
data (
ArrayLike
) – Numpy array of numerical values and set numbers, containing multiple sets. For example the output of theread_datasets()
function.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 asvorob_t(x, ref)
.
- Returns:
float
– Vorob’ev deviation.
See also
vorob_t
Compute 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, ref=(2, 200)) >>> vd 3017.12989402326