Skip to content

Implement the pairwise metrics  #12

Description

@marcelcaraciolo

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions