Skip to contents

Makes a Transformation that scores how similar each candidate is to the given alpha-quantile on the input dataset.

Usage

make_quantile_score_candidates(input_domain, input_metric, candidates, alpha)

Arguments

input_domain

Uses a tighter sensitivity when the size of vectors in the input domain is known.

input_metric

Either SymmetricDistance or InsertDeleteDistance.

candidates

Potential quantiles to score

alpha

a value in \([0, 1]\). Choose 0.5 for median

Value

Transformation

Details

Required features: contrib

make_quantile_score_candidates in Rust documentation.

Supporting Elements:

  • Input Domain: VectorDomain<AtomDomain<TIA>>

  • Output Domain: VectorDomain<AtomDomain<usize>>

  • Input Metric: MI

  • Output Metric: LInfDistance<usize>

Proof Definition:

(Proof Document)