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

Description Usage Arguments Value Examples

View source: R/blocking-evaluations.R

Description

Perform evaluations (recall) for blocking.

Usage

1
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

1
2
3
4
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)

klsh documentation built on Jan. 13, 2021, 8:05 p.m.