moocore.vorobDev#
- moocore.vorobDev(x, /, ref, *, VE=None)[source]#
Compute Vorob’ev deviation.
- Parameters:
x (
ArrayLike
) – Numpy array of numerical values and set numbers, containing multiple sets. For example the output of theread_datasets()
function.ref (
ArrayLike
) – Reference point set as a numpy array or list. Must be same length as a single point in the dataset.VE (
ArrayLike
|None
, default:None
) – Vorob’ev expectation, e.g., as returned byvorobT()
. If not provided, it is calculated asvorobT(x, ref)
.
- Returns:
float
– Vorob’ev deviation.
See also
vorobT
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.vorobDev(CPFs, ref=(2, 200)) >>> VD 3017.12989402326