EntityAlignmentResult
Models & Types · AiDotNet.FederatedLearning.PSI
Contains the results of an entity alignment operation, including the PSI result, party sizes, and diagnostic information.
For Beginners
This wraps the raw PSI result with additional context about the alignment operation, such as how many entities each party started with, which protocol was used, and how long the operation took. This information is useful for logging, monitoring, and deciding whether to proceed with VFL training.
Constructors
| Constructor | Summary |
|---|---|
EntityAlignmentResult() |
Properties
| Property | Summary |
|---|---|
MultiPartyPsiResult MultiPartyResult { get; set; } |
Gets or sets the multi-party result when more than two parties are involved. |
PsiResult PsiResult { get; set; } |
Gets or sets the underlying PSI result with intersection IDs and alignment mappings. |
TimeSpan TotalExecutionTime { get; set; } |
Gets or sets the total wall-clock time for the alignment operation. |
bool IsCardinalityOnly { get; set; } |
Gets or sets whether only the cardinality was computed (no actual intersection IDs). |
bool IsFuzzyMatch { get; set; } |
Gets or sets whether fuzzy matching was used for entity alignment. |
double LocalAlignmentRate { get; } |
Gets the fraction of the local party’s entities that were aligned. |
double RemoteAlignmentRate { get; } |
Gets the fraction of the remote party’s entities that were aligned. |
int AlignedEntityCount { get; } |
Gets the number of aligned entities (intersection size). |
int LocalPartySize { get; set; } |
Gets or sets the number of entities in the local (initiating) party’s dataset. |
int NumberOfParties { get; set; } |
Gets or sets the number of parties that participated in the alignment. |
int RemotePartySize { get; set; } |
Gets or sets the number of entities in the remote party’s dataset. |
string ProtocolUsed { get; set; } |
Gets or sets the name of the PSI protocol used for the alignment. |