jaccard_curve: Plot S-Curve for a LSH with given hyperparameters

View source: R/lsh_properties.R

jaccard_curveR Documentation

Plot S-Curve for a LSH with given hyperparameters

Description

Plot S-Curve for a LSH with given hyperparameters

Usage

jaccard_curve(n_bands, band_width)

Arguments

n_bands

The number of LSH bands calculated

band_width

The number of hashes in each band

Value

A plot showing the probability a pair is proposed as a match, given the Jaccard similarity of the two items.

Examples

# Plot the probability two pairs will be matched as a function of their
# jaccard similarity, given the hyperparameters n_bands and band_width.
jaccard_curve(40, 6)


zoomerjoin documentation built on April 13, 2025, 9:08 a.m.