Match by date¶
Description¶
Both inputs A [OBJ,DATE] and B [OBJ,DATE] contain pairs [candidate, evidence].
The block compares the evidence columns from the inputs and return as matches the corresponding candidate objects.
Optional input Cands [OBJ,OBJ] can limit the matching to only the pairs of candidates listed.
The first column corresponds to the candidate column of
A.The second column corresponds to the candidate column of
B.Scores are propagated to final matches.
Input¶
A [OBJ,DATE]: a list of[candidate, evidence]pairs, in which theevidencecolumn will be used for comparison and thecandidatecolumn will be the resultCands [OBJ,OBJ](optional) : candidate pairs, only candidate columns ofAandBthat are inCandswill be matchedB [OBJ,DATE]: a list of[candidate, evidence]pairs, in which theevidencecolumn will be used for comparison and thecandidatecolumn will be the result
Output¶
RESULT [OBJ,OBJ]: the matchedcandidateitems fromAandBNOTA [OBJ]: thecandidateitems fromAthat did not match with an item fromBNOTB [OBJ]: thecandidateitems fromBthat did not match with an item fromA
Parameters¶
Comparison: Comparison function to use (=,!=,<,>,<=,>=,day-distance)Max day-distance: whenComparisonis set today-distance, the match is valid only if the difference in days between the two dates is not greater than this valueSlope: positive value determining the slope of the ranking curve. The higher the slope, the closer together the resulting scores.Exclude self-matches: whether to emit the match if the objects inAandBare the same. Mostly useful whenAandBcome from the same sourceExclude symmetrical matches: whether to keep only one between matchesA-BandB-A. It cannot be predicted which of the two is kept.