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

10 Commits

Author SHA1 Message Date
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