transformedWeights: Enumerate Transformed Weights for Choosing i and j...

Description Usage Arguments

View source: R/utility.R

Description

Enumerate Transformed Weights for Choosing i and j Non-Uniformly

Usage

1
transformedWeights(m, fn = function(x) x, eps = 1e-12)

Arguments

m

A square matrix of pairwise similarilities between items

fn

A function that maps pairwise similarities. Default is the identity function.

eps

A numeric value close to 0 to give some nonzero weight to pairs of items with 0 or 1 pairwise similarity


sams documentation built on June 16, 2021, 1:06 a.m.