vorob_dev#
- moocore.vorob_dev(points, /, sets, *, ref, ve=None)[source]#
Compute Vorob’ev deviation.
- Parameters:
points (
ArrayLike) – Array of numerical values, where each row gives the coordinates of a point in objective space. If the array is created by theread_datasets()function, remove the last column.sets (
ArrayLike) – 1D vector or list of values that gives the set of each row ofpoints.ref (
ArrayLike) – Reference point as a 1D vector. Must be either a single value, which will be used for all coordinates, or the same length as a single point inpoints.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.xz") >>> vd = moocore.vorob_dev(CPFs[:, :-1], sets=CPFs[:, -1], ref=(2, 200)) >>> vd 3017.12989402326