Skip to content

coRanking

function coRanking(
hdIn,
ldIn,
opts?): CoRanking;

Defined in: passes/coranking.ts:197

Convenience: full single-threaded pass.

ParameterType
hdInPointsInput
ldInPointsInput
optsCoRankingOptions

CoRanking

import { coRanking, trustworthiness, aucLogRnx } from "@saehrimnir/sickle";
// The rank half of `analyze`, when you do not need the distance moments.
const cr = coRanking(data, projection, { localK: [20] });
trustworthiness(cr, 20); // 0.9659
aucLogRnx(cr); // 0.4658