-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
Description
It will be implemented the pairwise metrics with new signatures in order to get the same code for several functions.
For instance consider the pearson correlation which can be expressed as cosine pairwise metric changing the inputs. (Follow the link: http://pt.wikipedia.org/wiki/Coeficiente_de_correla%C3%A7%C3%A3o_de_Pearson)
The mahantan and euclidean metrics can be considered a Lp-norm changing the p = {1,2,3 ...}
Before commiting I recommend you test without optimizations to check those assertives and post the gist so we can disccuss.