dictionary.distance: calculate the distance btw two dictionaries

Description Usage Arguments

Description

calculate the distance btw two dictionaries

Usage

1
2
dictionary.distance(A, B, pa = 1, pb = 1, emd = 1, same = 0,
  tmpdist = NULL)

Arguments

A

first dictionary: n1 by p matrix

B

second dictionary: n2 by p matrix

pa

probability distribution vector of dictionary A

pb

probability distribution vector of dictionary B

emd

whether to estimate the distance btw two load shapes as EMD (earth mover distance) or L1 distance/2

same

whether A and B are the same dictionaries or not

tmpdist

user can provide the distance matrix (n1 by n2) btw the dictionaries A and B if already calculated


ConvergenceDA/visdomloadshape documentation built on May 8, 2019, 8:34 a.m.