NearestNeighbors.jl icon indicating copy to clipboard operation
NearestNeighbors.jl copied to clipboard

on defining metrics

Open alainchau opened this issue 5 years ago • 3 comments

Added short example on how to write metrics.

alainchau avatar Nov 01 '19 06:11 alainchau

Codecov Report

Merging #94 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #94   +/-   ##
=======================================
  Coverage   93.05%   93.05%           
=======================================
  Files          14       14           
  Lines         475      475           
=======================================
  Hits          442      442           
  Misses         33       33

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6cb18c7...890e0b7. Read the comment docs.

codecov-io avatar Nov 01 '19 07:11 codecov-io

This seems to close #65.

dkarrasch avatar Nov 12 '19 09:11 dkarrasch

I didnt get well how to add other metric..., for example the haversine metric is quite useful for comparing geographic distances...

https://github.com/JuliaStats/Distances.jl/blob/master/src/haversine.jl

Sorry if that is a newby question... :(

scepeda78 avatar Apr 21 '21 16:04 scepeda78