1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-04-28 13:48:56 +08:00

9 Commits

Author SHA1 Message Date
frozenkp
6b3f7ddab2 format 2018-06-16 22:11:59 +08:00
Richard Townsend
ff52c013eb Update gonum to latest version
Should fix #200 and #205
2018-03-24 00:19:35 +00:00
Richard Townsend
918a8c99ba pairwise: update to latest mat64 API 2015-09-13 11:24:00 +01:00
Richard Townsend
581451d726 metrics/pairwise: correct goconvey-related problem
goconvey's ShouldPanicWith never seems to succeed,
this patch weakens the condition to ShouldPanic.
2015-05-26 23:43:35 +01:00
Alex Petrov
13327e9250 Run goftm on all files ti fix indentation 2014-05-05 08:32:38 +02:00
Alex Petrov
ad77c0dc7e Add Chebyshev and Cranberra distances, improve Manhattan distance
Previously, Manhattan distance measure was only able to calculate
vector distances. Now, it's possible to calculate distances on
matrices, too, without unnecessary overhead of copying vectors,
doing an in-place lookups.
2014-05-04 23:11:37 +02:00
Alex Petrov
1c22641a3b Fix manhattan distance calculation 2014-05-04 22:58:32 +02:00
Bert Chang
9a61332551 Make manhattan support both col&row vectors. 2014-05-03 22:47:41 +08:00
Bert Chang
b045cf83a5 Add manhattan distance. 2014-05-03 22:27:34 +08:00