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

408 Commits

Author SHA1 Message Date
Richard Townsend
ead76bdd7e I think I'm going to refocus this whole thing 2017-09-09 12:31:32 +01:00
Richard Townsend
57e6054404 base: fix unmarshalling attributes, add JSON 2017-08-26 14:56:31 +01:00
Richard Townsend
499ac7a493 base: fix unmarshalling attributes, add JSON 2017-08-26 14:56:17 +01:00
Richard Townsend
127a8e9162 base: method to get a SaveableClassifer's metadata 2017-08-26 14:55:12 +01:00
Richard Townsend
e68361c162 Genericize for ensemble use 2017-08-08 12:37:57 +01:00
Richard Townsend
a90ef09781 Remove excessive logging 2017-08-08 12:29:00 +01:00
Richard Townsend
d23619eac2 OK, but with a lot of extra printing 2017-08-07 17:26:11 +01:00
Richard Townsend
3e393cea4c Add a SaveableClassifier interface 2017-08-07 14:50:51 +01:00
Richard Townsend
7b08820152 Adding some new ways of serializing things 2017-08-07 14:43:21 +01:00
Richard Townsend
b7ad1fe499 Merge pull request #186 from meirwah/master
PredictProba for trees
2017-07-23 17:14:24 +01:00
meirwahnon
674de9cae3 change Probability order 2017-07-17 16:01:49 +03:00
meirwahnon
518c0d84c4 extren fields of ClassProba 2017-07-17 15:35:35 +03:00
meirwahnon
2b478a0513 fix to float precise 2017-07-17 15:01:08 +03:00
meirwahnon
f56fce1a43 support PredictProba 2017-07-17 14:48:38 +03:00
Richard Townsend
51d7b7d262 Merge pull request #183 from p1gd0g/patch-1
fix a bug
2017-06-16 16:59:31 +01:00
Richard Townsend
36b3100546 Merge pull request #182 from FrozenKP/master
A small change to make output more beautiful when training knn.
2017-06-16 16:59:23 +01:00
Hao Ren
1278dd401c fix a bug
the link lost
2017-06-16 16:33:50 +08:00
FrozenKP
a08194b3e9 replace output \n with \r when training knn 2017-06-06 23:02:37 +08:00
Richard Townsend
78456c5bd6 Merge pull request #176 from FrozenKP/master
add "zh_TW" and moving "zh" to "zh_CN"
2017-05-01 18:37:52 +01:00
Richard Townsend
5290f3fd6b Merge pull request #178 from Sentimentron/travis-fix
travis: stop testing tip
2017-05-01 18:36:34 +01:00
Richard Townsend
c05297176a travis: stop testing tip
tip seems to always fail at the moment due to a problem with
the unit testing framework. Disabling tip for now until the problem
is resolved.

https://github.com/smartystreets/goconvey/issues/476
2017-05-01 18:20:48 +01:00
Yi-Hsien Chen
f60f6d2b16 Merge pull request #6 from FrozenKP/doc
Doc
2017-04-21 11:23:49 -05:00
FrozenKP
271e218781 add knn.md and installation.md 2017-04-22 00:21:51 +08:00
FrozenKP
c1b65dcbf3 write zh_TW/Home.md and move zh/ to zh_CN/ 2017-04-19 20:10:03 +08:00
Richard Townsend
05410b4594 Merge pull request #174 from FrozenKP/master
"add weighted knn" & "add kdtree to knn"
2017-04-18 20:25:01 +01:00
Richard Townsend
7a5079fa92 Merge pull request #175 from Sentimentron/master-fix
pca: fix mat64 breakage
2017-04-18 20:24:04 +01:00
Richard Townsend
882d210182 pca: fix mat64 breakage
May be time to consider versioning dependencies.
2017-04-18 20:14:12 +01:00
Richard Townsend
cb36e33712 Merge pull request #110 from saromanov/pca
Implementation of PCA
2017-04-18 19:31:45 +01:00
FrozenKP
403f605ae1 add "linear" to NewKnnClassifier 2017-04-19 00:23:57 +08:00
Yi-Hsien Chen
2cef104d98 Merge pull request #5 from FrozenKP/weightedKNN
Weighted knn
2017-04-18 11:10:51 -05:00
FrozenKP
beea6c9908 remove "linear" from NewKnnClassifier 2017-04-18 23:51:03 +08:00
FrozenKP
2ef3699056 add test for weighted knn 2017-04-18 23:14:29 +08:00
FrozenKP
110b7dcdc4 change method to make kdtree search more precisely 2017-04-18 23:06:46 +08:00
Richard Townsend
7a9e119010 Merge pull request #172 from FrozenKP/master
[kdtree] fixed a bug and change function name
2017-04-17 18:05:31 +01:00
FrozenKP
b33ef1f117 add weighted knn 2017-04-17 20:37:28 +08:00
FrozenKP
543fe7a484 Search return length for weightedKNN 2017-04-17 19:54:17 +08:00
FrozenKP
3a2782ffec Search return length for weightedKNN 2017-04-17 19:47:13 +08:00
FrozenKP
7b765a2f18 add kdtree to knn 2017-04-17 15:20:31 +08:00
Yi-Hsien Chen
3054ab35d4 Merge pull request #3 from FrozenKP/kdtree
find a bug of srcRowNo and fixed
2017-04-17 01:27:53 -05:00
FrozenKP
041b0b2590 find a bug of srcRowNo and fixed 2017-04-17 14:13:01 +08:00
Yi-Hsien Chen
612c931a7d Merge pull request #2 from FrozenKP/kdtree
find bug when testing knn with kdtree -> fixed
2017-04-16 23:26:49 -05:00
FrozenKP
ac0a2e1fc2 find bug when testing knn with kdtree -> fixed 2017-04-17 12:01:57 +08:00
FrozenKP
af0909a40e update to latest and change searchAllNode to searchAllNodes 2017-04-17 08:33:05 +08:00
Richard Townsend
37a5b91bcf Merge pull request #171 from FrozenKP/master
add kdtree
2017-04-16 20:48:32 +01:00
Yi-Hsien Chen
8547a4335e Merge pull request #1 from FrozenKP/kdtree
add kdtree
2017-04-16 11:20:45 -05:00
FrozenKP
134dfd0c14 remove .swp file 2017-04-16 23:44:41 +08:00
FrozenKP
99fa61d4aa test passed 2017-04-16 23:42:54 +08:00
FrozenKP
980753b5f1 kdtree finished without test 2017-04-16 21:08:08 +08:00
FrozenKP
759ee645c5 add heap.go and heap_test.go for heap using in kdtree 2017-04-16 00:48:23 +08:00
FrozenKP
2c8b3be961 kdtree.Build() finished 2017-04-15 20:15:51 +08:00