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

436 Commits

Author SHA1 Message Date
Richard Townsend
2428dfa7de Fix various other little errors 2018-03-24 00:20:45 +00:00
Richard Townsend
ff52c013eb Update gonum to latest version
Should fix #200 and #205
2018-03-24 00:19:35 +00:00
Richard Townsend
40a50346ae
Merge pull request #201 from yakud/pca_fit_transform
PCA fit method
2018-03-23 23:25:54 +00:00
Richard Townsend
bcbb174acc
Merge pull request #203 from chneau/master
Fix #169 wrong Mutex Lock
2018-03-23 23:25:10 +00:00
Charles N
e9a8d4a005 Fix #169 wrong Mutex Lock 2018-03-14 13:13:17 +00:00
Aleksei Kiselev
8e81a4b6d2 PCA fit method 2018-02-27 11:39:57 +02:00
Richard Townsend
99626ce479
Merge pull request #191 from Sentimentron/serialization
Add support for saving and loading classifiers
2018-02-03 18:29:10 +00:00
Richard Townsend
57aa61698c base: CREAT => CREATE 2018-01-28 22:55:17 +00:00
Richard Townsend
a3dab5ec13 base: try to correct 'no such file or directory' error 2018-01-28 16:36:21 +00:00
Richard Townsend
58ae6f4d1b trees: Try to fix premature write-after-Close issue 2018-01-28 16:35:55 +00:00
Richard Townsend
e2279995c1 Fixing all tests 2018-01-28 16:22:33 +00:00
Richard Townsend
ce78cd0406 Passes the tests 2018-01-27 18:56:01 +00:00
Richard Townsend
f722f2e59d trees: implement serialization 2018-01-27 18:00:52 +00:00
Richard Townsend
dede6dc750 Do not actively test go versions < 1.7 2018-01-27 17:53:44 +00:00
Etienne Bruines
7a6fa54353 Made versions of CSV-readers w/ io.ReadSeeker
Each method now ontains a -FromReader counterpart
such that it'll allow use of those helper-methods
even when someone does not have his data in a physical
file. The original methods make use of those -FromReader
methods.

The reader is being reset (Seek(0, 0)) before every method-
specific read, to ensure it's reading from the start of the
reader.

Test cases are not yet touched, and I'm not sure they should.
2018-01-27 17:53:44 +00:00
Richard Townsend
d2c70d74e0 Merge pull request #193 from EtienneBruines/file_to_reader
Made versions of CSV-readers w/ io.ReadSeeker
2017-09-30 12:37:27 +01:00
Etienne Bruines
db086a864e Made versions of CSV-readers w/ io.ReadSeeker
Each method now ontains a -FromReader counterpart
such that it'll allow use of those helper-methods
even when someone does not have his data in a physical
file. The original methods make use of those -FromReader
methods.

The reader is being reset (Seek(0, 0)) before every method-
specific read, to ensure it's reading from the start of the
reader.

Test cases are not yet touched, and I'm not sure they should.
2017-09-29 09:48:33 +02:00
Richard Townsend
e7fee0a2d1 Reformat, fix tests 2017-09-10 21:10:54 +01:00
Richard Townsend
fc110aab48 Fix bad import, reformat 2017-09-10 20:35:34 +01:00
Richard Townsend
aee475ca14 Fix the trees tests 2017-09-10 20:13:41 +01:00
Richard Townsend
44e4c4fbef Naive: serialiation implemented, tests pass 2017-09-10 20:10:53 +01:00
Richard Townsend
e27215052b ensemble: tests pass 2017-09-10 19:30:02 +01:00
Richard Townsend
3e80230d3d meta: passes the tests, seems to be flaky 2017-09-10 18:24:40 +01:00
Richard Townsend
c18d50d217 meta: tests passing 2017-09-10 17:43:17 +01:00
Richard Townsend
768d2cd19f meta: tests are almost passing 2017-09-10 16:59:05 +01:00
Richard Townsend
43f04021af knn: tests now passing 2017-09-09 20:07:56 +01:00
Richard Townsend
72c2005e70 All tests are passing again 2017-09-09 19:58:57 +01:00
Richard Townsend
007af15658 Merging SerializableClassifier with Classifier 2017-09-09 13:38:02 +01:00
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