Learn R Programming

klsh (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 {
data("RLdata500")
klsh.blocks <- klsh(RLdata500, p=20, num.blocks=5, k=2)
confusion.from.blocking(klsh.blocks, identity.RLdata500)
confusion.from.blocking(klsh.blocks, identity.RLdata500, recall.only=TRUE)
# }

Run the code above in your browser using DataLab