rnxCurve
function rnxCurve(cr): Curve;Defined in: metrics/neighborhood.ts:399
rnx at every k at once — the standard curve for reporting a projection.
See trustworthinessCurve.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
cr | CoRanking |
Returns
Section titled “Returns”Example
Section titled “Example”import { analyze, rnxCurve } from "@saehrimnir/sickle";
const a = analyze(data, projection); // number[][] straight inconst curve = rnxCurve(a.coRanking);curve.kMax; // 198 — n - 2curve.values[20]; // 0.5172