Table of Contents

Interface IReferenceDataStore

Namespace
RinhaBackend
Assembly
Api.dll

Abstraction over the KNN reference store, used to allow test doubles without loading production data.

public interface IReferenceDataStore

Methods

ComputeFraudScore(Span<float>)

Computes the fraud score for a normalized feature vector by running a KNN search. Returns a value in [0, 1]: the fraction of the K nearest neighbors labeled as fraud.