Skip to contents

Weighted Minkowski Distance

Usage

minkowski(x, y, w, r, q)

Arguments

x

A numeric vector, feature values of first object

y

Like x, feature values of second object

w

numeric vector of weights (model parameter)

r

exponent in distance metic (model parameter)

q

exponent in similarity function (model parameter)

Examples

# none