Weighted Mahalanobis Distance
Usage
mahalanobis(x, y, s, w, q)
Arguments
- x
A numeric vector, feature values of first object
- y
Like x, feature values of second object
- s
Inverted variance-covariance matrix
- w
numeric vector of weights (model parameter)
- q
exponent in similarity function (model parameter)