confusion.from.blocking {klsh}R Documentation

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

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)

[Package klsh version 0.1.0 Index]