vorob_dev#

moocore.vorob_dev(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 the read_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 by vorob_t(). If not provided, it is calculated as vorob_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