Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card GoDoc

DisFun

Inspired by the Ruby Gem Distance-Measures and Measurable and my need to have available a number of distance functions for things like k-Nearest-Neighbor, k-Means, string metrics, and the like....

Algos

I'll add algorithm implementations as they arise. Some imlementations have been forked from existing projects where I have made modifcations to suite my purposes (see external_licenses).

Test Coverage

coverage: 87.3% of statements

Run benchmarks

go test -bench .

## or

go test -bench=.

## or for levenshtien

go test -bench Lev

## or for euclidean
go test -bench Euc

## or use gobenchui
gobenchui .

About

Distance Functions including ngram and levenshtein, haversine, euclidean, etc...

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages