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
Stephen Whitworth
798751c839
Merge pull request #12 from sjwhitworth/metrics
...
Metrics
2014-05-03 17:37:51 +01:00
Bert Chang
551dfc8cc1
Add doc link to README.
2014-05-03 23:06:28 +08: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
Bert Chang
6517c838c4
Add basic PolyKernel and RBFKernel test.
2014-05-03 22:02:39 +08:00
Bert Chang
83faf52273
Remove examples, remove CheckDimMatch.
2014-05-03 15:29:07 +08:00
Bert Chang
0b85e5d752
Migrate to mat64 in poly_kernel.
2014-05-03 01:19:12 +08:00
Bert Chang
985ccc9d19
We don't need to manually handle error anymore.
2014-05-03 01:07:33 +08:00
Bert Chang
804cd82cfc
Use gonum/matrix/mat64, life is easier.
2014-05-03 00:56:28 +08:00
Bert Chang
4fc0ed0477
Add euclidean distance test.
2014-05-02 23:49:06 +08:00
Bert Chang
921efaffc7
Add basic test to euclidean.
2014-05-02 23:30:12 +08:00
Bert Chang
6157cb836a
Temp change some code so we can build via goconvey.
2014-05-02 22:30:40 +08:00
Bert Chang
6211206b73
Remove Metric interface, add RBFKernel.
2014-05-02 21:10:55 +08:00
Bert Chang
b473ff6881
Add metric interface, add polynomial kernel.
2014-05-02 20:09:54 +08:00
Bert Chang
0eaf944764
We will need to implement many metrics, so we should split it into a package.
2014-05-02 18:10:20 +08:00
Stephen Whitworth
8f1de1ba2c
Refactoring some stuff
2014-05-01 19:56:30 +01:00
Stephen Whitworth
779a915652
Resize studious gopher
2014-05-01 08:26:32 +01:00
Stephen Whitworth
c4bbc02cb3
Update README.md
2014-05-01 08:26:04 +01:00
Stephen Whitworth
1c34b4661a
Update README.md
2014-05-01 08:25:57 +01:00
Stephen Whitworth
86d31d02cf
Update README.md
2014-05-01 08:25:12 +01:00
Stephen Whitworth
1a7cce51d3
Add studious gopher
2014-05-01 08:24:22 +01:00
Stephen Whitworth
b29f8a7fdf
Refactoring
2014-05-01 07:46:13 +01:00
Stephen Whitworth
e27f25f62b
Merge pull request #8 from sjwhitworth/organizing
...
Add package file, rewrite import.
2014-05-01 07:24:59 +01:00
Bert Chang
0f07475c8f
Add installation docs.
2014-05-01 11:59:24 +08:00
Bert Chang
0c2187763f
Add package file, rewrite import.
2014-04-30 22:13:07 +08:00
Stephen Whitworth
b4cc1e85c7
Made a start on interfaces
2014-04-30 09:10:16 +01:00
Stephen Whitworth
d43d7a5ceb
Made a start on interfaces
2014-04-30 09:08:33 +01:00
Stephen Whitworth
e1663eefa8
Starting interface design
2014-04-30 08:57:13 +01:00
Stephen Whitworth
e7c19c8975
Update README.md
2014-04-30 08:22:58 +01:00
Stephen Whitworth
c715e58452
Adding license
2014-04-30 08:22:08 +01:00
Stephen Whitworth
8d0bbff8de
Update README.md
2014-04-28 08:11:40 +01:00
Stephen Whitworth
59f0e616d3
Update README.md
2014-04-28 07:40:42 +01:00
Stephen Whitworth
f723fa6552
Update README.md
2014-04-28 07:40:27 +01:00
Stephen Whitworth
0e86db820e
Added KNN Regressor
2014-01-05 00:23:31 +00:00
Stephen Whitworth
9815b00e77
Created a KNN example
2014-01-04 19:33:48 +00:00
Stephen Whitworth
334c12385e
Added example documentation
2014-01-04 19:31:33 +00:00
Stephen Whitworth
84569019b8
Split it out, created iris example, debugged KNN
2014-01-04 19:16:05 +00:00
Stephen Whitworth
874fc5314d
Split it out, created iris example, debugged KNN
2014-01-04 19:14:36 +00:00
Stephen Whitworth
f1d51412ef
Move to subclassing
2014-01-04 11:12:06 +00:00
Stephen Whitworth
f1eae520a9
Tidying up
2013-12-29 00:04:50 +00:00
Stephen Whitworth
4e81045015
Tidying up
2013-12-29 00:03:42 +00:00
Stephen Whitworth
cc69c1ab2f
Added documentation
2013-12-28 23:48:12 +00:00
Stephen Whitworth
6366d3fa65
KNN Classifier now works
2013-12-28 18:41:13 +00:00
Stephen Whitworth
7c0349c713
Removed binary
2013-12-28 10:00:57 +00:00
Stephen Whitworth
3a144dd01c
KNN nearly working
2013-12-28 10:00:20 +00:00
Stephen Whitworth
b8541bd446
Starting to take shape
2013-12-27 00:59:06 +00:00
Stephen Whitworth
d3ccfbf12c
Working on Euclidean distance
2013-12-26 19:52:36 +00:00