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

15 Commits

Author SHA1 Message Date
ss8651twtw
b75b54aab8 Fix import cycle 2018-06-17 00:21:58 +08:00
ss8651twtw
c3670402e3 Fix variable name in convey 2018-06-16 23:24:44 +08:00
ss8651twtw
7255c67138 Add test cases for cross_fold 2018-06-16 22:11:59 +08:00
ss8651twtw
e92e615e79 Add test cases for C0 2018-06-16 22:11:59 +08:00
ss8651twtw
40fa13a5be Format confusion.go 2018-06-16 22:11:59 +08:00
Richard Townsend
44e4c4fbef Naive: serialiation implemented, tests pass 2017-09-10 20:10:53 +01:00
FrozenKP
dbf7a539a8 add ShowConfusionMatrix() to show a readable version of ConfusionMatrix 2017-03-27 20:02:15 +08:00
Richard Townsend
b2f5b2840d Cross-fold validation 2014-10-26 17:48:48 +00:00
Amit Kumar Gupta
9f67f73330 Convert some tests to goconvey, and improve assertions along the way 2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
947ee8380e Return error instead of panicking when unable to get confusion matrix 2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
14aad31821 Consistently use (t *testing.T) instead of T or testEnv 2014-08-22 08:44:41 +00:00
Amit Kumar Gupta
8f5a5f4962 Add headings and improve formatting of ConfusionMatrix GetSummary 2014-08-22 07:09:16 +00:00
Richard Townsend
3fea8395a9 evaluation: merge from v2-instances 2014-08-03 15:17:14 +01:00
Niclas Jern
4d7bc20a36 Should replace "val += 1" with "val++" 2014-07-18 13:25:18 +03:00
Richard Townsend
a2c67592df Adds Instances and Attributes type
* Refactors KNNClassifier to use them
* csv handling moved back into base due to a circular dependency
* Also adds the datasets used to test CSV handling
2014-05-13 22:08:11 +01:00