PsiResult

Models & Types · AiDotNet.FederatedLearning.PSI

Contains the results of a Private Set Intersection computation.

For Beginners

After running PSI, this object tells you:

How It Works

The alignment mappings are critical for vertical FL training: they tell each party which of their local data rows correspond to the shared entities so that features from different parties can be correctly paired during training.

Constructors

Constructor Summary
PsiResult()

Properties

Property Summary
IReadOnlyDictionary<int, double> FuzzyMatchConfidences { get; set; } Gets or sets confidence scores for fuzzy-matched pairs, keyed by shared index.
IReadOnlyDictionary<int, int> LocalToSharedIndexMap { get; set; } Gets or sets the mapping from local row indices to shared alignment indices for the initiating party.
IReadOnlyDictionary<int, int> RemoteToSharedIndexMap { get; set; } Gets or sets the mapping from local row indices to shared alignment indices for the remote party.
IReadOnlyList<string> IntersectionIds { get; set; } Gets or sets the intersecting entity IDs found by the PSI protocol.
PsiProtocol ProtocolUsed { get; set; } Gets or sets the PSI protocol that was used.
TimeSpan ExecutionTime { get; set; } Gets or sets the total time taken to execute the PSI protocol.
bool IsFuzzyMatch { get; set; } Gets or sets whether the result is from a fuzzy (approximate) match.
double LocalOverlapRatio { get; set; } Gets or sets the fraction of the initiating party’s IDs that were found in the intersection.
double RemoteOverlapRatio { get; set; } Gets or sets the fraction of the remote party’s IDs that were found in the intersection.
int IntersectionSize { get; set; } Gets or sets the number of intersecting elements.