1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-04-26 13:49:14 +08:00

10 Commits

Author SHA1 Message Date
Richard Townsend
ff52c013eb Update gonum to latest version
Should fix #200 and #205
2018-03-24 00:19:35 +00:00
Clint Caywood
d9d15fb735 Fix breakage due to gonum/matrix mat64.ErrShape 2015-10-24 22:44:24 -07:00
Niclas Jern
716bddc46a receiver name should be a reflection of its identity; dont use generic names such as "me", "this", or "self" 2014-07-18 13:58:07 +03:00
Niclas Jern
627a5537d3 Comments should be of the form "<Struct> ..." or "<MethodName> ..." 2014-07-18 13:48:28 +03: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
1ec702a1e5 Add documents. 2014-05-03 23:05:24 +08: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