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

14 Commits

Author SHA1 Message Date
Bert Chang
1e21802d2e Use AlmostEqual for numerical comparison. 2014-05-05 23:28:49 +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
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