coRanking
function coRanking( hdIn, ldIn, opts?): CoRanking;Defined in: passes/coranking.ts:197
Convenience: full single-threaded pass.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hdIn | PointsInput |
ldIn | PointsInput |
opts | CoRankingOptions |
Returns
Section titled “Returns”Example
Section titled “Example”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.9659aucLogRnx(cr); // 0.4658