transformedWeights {sams}R Documentation

Enumerate Transformed Weights for Choosing i and j Non-Uniformly

Description

Enumerate Transformed Weights for Choosing i and j Non-Uniformly

Usage

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


[Package sams version 0.4.3 Index]