Learn R Programming

tlsh (version 0.1.0)

confusion.from.blocking: Perform evaluations (recall) for blocking.

Description

Perform evaluations (recall) for blocking.

Usage

confusion.from.blocking(blocking, true_ids, recall.only = FALSE)

Arguments

blocking

A list of the blocks

true_ids

The true identifiers for comparisons

recall.only

Flag that when true only prints the recall, otherwise prints many evaluation metrics in a list

Value

A vector of that returns the recall and the precision

Examples

Run this code
# NOT RUN {
r.set <- RLdata500[1:250,c(-2)]
tlsh.blocks <- block_setup_v2(r.set, b=22, save_signature=FALSE, k=2)
confusion.from.blocking(tlsh.blocks, identity.RLdata500, recall.only=TRUE)
# }

Run the code above in your browser using DataLab