Description Usage Arguments Value Examples
This function is deprecated. You probably want to use
TP_FP_FN_avg_sim
, sig_dist_matrix
,
or match_two_sig_sets
.
1 | MatchSigsAndRelabel(ex.sigs, gt.sigs, exposure = NULL, similarity.cutoff = 0.9)
|
ex.sigs |
Newly extracted signatures to be compared to |
gt.sigs |
"Ground truth" signatures. |
exposure |
If |
similarity.cutoff |
A ground-truth signature must have been the best match of an extracted signature with a cosine similarity $ge$ this value to be considered a true positive. Otherwise we consider the ground-truth signature to be a false negative. |
A list with the elements
averCosSim
The average of the cosine similarities
between each signature in
ex.sigs
and its closest match in gt.sigs
and the closest match
between each signature in gt.sigs
and its closest match in ex.sigs
.
This may not be what you want. Often one wants
the average of the cosine similarities of the true
positives to their matching ground-truth signatures.
match1
The match from extracted signatures to ground truth
signatures. Associated with each extracted signature is
a ground truth signature with best cosine similarity.
Ties are resolved arbitrarily.
match2
The match from ground truth signatures to extracted
signatures. Associated with each extracted signature is
a ground truth signature with best cosine similarity.
Ties are resolved arbitrarily.
extracted.with.no.best.match
ground.truth.with.no.best.match
ex.sigs
Echo input argument
gt.sigs
Echo input argument
gt.mean.cos.sim
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.