Skip to content

mrreMissing

function mrreMissing(cr, k): number;

Defined in: metrics/neighborhood.ts:535

Rank error among the neighbours the data actually has.

The mirror of mrreFalse, graded the same way.

  • Needs: high-dimensional data and projection. No labels.
  • Range: [0, 1], higher is better.
  • Cost: O(k), from an O(N² log N) pass.
ParameterType
crCoRanking
knumber

number

import { analyze, mrreMissing } from "@saehrimnir/sickle";
const a = analyze(data, projection);
mrreMissing(a.coRanking, 20); // 0.94