Skip to content
This repository has been archived by the owner on Jun 29, 2019. It is now read-only.

JuliaStats/Distance.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metrics

Evaluation of metrics(distances) between vectors.

A List of supported distances

  • Euclidean distance
  • Squared euclidean distance
  • Cityblock distance
  • Chebyshev distance
  • Minkowski distance
  • Hamming distance
  • Cosine distance
  • Correlation distance
  • Spearman distance
  • Kullback-Leibler divergence
  • Jensen-Shannon divergence

Features

  • Many of the distances above accepts a weight vector as an optional argument to calculate weighted distances.
  • The module supports computation of distances in different ways:
    • compute a distance between two vectors
    • compute distances between a vector and an array comprised of multiple vectors
    • compute distances between corresponding vectors in two arrays along a specific dimension
    • compute distances between columns in two matrices in a pairwise manner
  • Specialized functions are used to compute some distances (e.g. Euclidean) in a much faster way.

About

Julia module for Distance evaluation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages