ConformalRanker class

Conformal ranker that assigns distribution-free confidence to rank positions.

Given sorted scores, computes the conformal p-value (fraction of gaps ≤ this gap) and classifies each position as stable/marginal/unstable.

Constructors

ConformalRanker({double tieEpsilon = 1e-9, double stableThreshold = 0.7, double marginalThreshold = 0.3})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
marginalThreshold double
Confidence threshold for RankStability.marginal.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stableThreshold double
Confidence threshold for RankStability.stable.
final
tieEpsilon double
Threshold below which two scores are considered tied.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rank(List<MatchResult> results) RankedResults
Rank a list of match results and assign conformal confidence.
rankTopK(List<MatchResult> results, int k) RankedResults
Rank and return only the top-k items.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited