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

249 Commits

Author SHA1 Message Date
Amit Kumar Gupta
4d93b9de89 Convert remaining tests to goconvey 2014-08-23 05:22:16 +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
1809a8b358 RandomForest returns error when fitting data with fewer features than the RandomForest plans to use
- BaseClassifier Predict and Fit methods return errors
- go fmt ./...

Conflicts:
	ensemble/randomforest.go
	ensemble/randomforest_test.go
	trees/tree_test.go
2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
151df652ca Remove hardly-used logger 2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
f14020f78c Remove unused cross_validation package 2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
529b3bcaa5 Avoid renaming packages on import 2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
478b5055c7 Remove unused untested utility functions 2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
63dcd653b0 NewLogisticRegression returns error instead of nil to indicate error 2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
f38fc713ef Remove unused untested ParseCSV function 2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
580913938f Trim the public interface of the edf package 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
Stephen Whitworth
c8bf178662 Merge pull request #76 from amitkgupta/master
Improve ConfusionMatrix GetSummary formatting, and several tiny improvements
2014-08-22 11:37:17 +01: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
695aec6eb6 Favor idiomatic t.Fatalf over panic for test failures 2014-08-22 08:07:55 +00:00
Amit Kumar Gupta
45545d6ebd Remove Println's from automated test suite since they aren't assertions 2014-08-22 07:58:01 +00:00
Amit Kumar Gupta
66ad866cb3 RandomForest panics when trying to fit data with too few features instead of just hanging forever 2014-08-22 07:39:14 +00:00
Amit Kumar Gupta
d835081de9 Favor idiomatic error return over panic when parsing non-existent CSV file 2014-08-22 07:27:16 +00:00
Amit Kumar Gupta
21bb2fc9fa Remove redundant import renames 2014-08-22 07:21:24 +00:00
Amit Kumar Gupta
8f5a5f4962 Add headings and improve formatting of ConfusionMatrix GetSummary 2014-08-22 07:09:16 +00:00
Amit Kumar Gupta
25f59e2d6b Remove unused private functions from base/util 2014-08-22 07:07:13 +00:00
Amit Kumar Gupta
b8e0a36f73 Remove unused untested private function from chimerge_funcs 2014-08-22 07:03:49 +00:00
Amit Kumar Gupta
688a82babb fix typo suceed -> succeed 2014-08-22 07:00:39 +00:00
Amit Kumar Gupta
94e5843bcf go fmt ./... 2014-08-22 06:55:20 +00:00
Richard Townsend
45f0be7607 Merge pull request #75 from Sentimentron/anonmap
edf: use make() to back EdfAnonMap
2014-08-21 16:36:12 +01:00
Richard Townsend
0c10896ff5 Merge pull request #74 from amitkgupta/master
Tiny improvements
2014-08-21 16:36:05 +01:00
Richard Townsend
c59384bbed edf: use make() to back EdfAnonMap 2014-08-20 22:25:18 +01:00
Amit Kumar Gupta
5ea7253458 ignore coverprofile files 2014-08-20 05:55:30 +00:00
Amit Kumar Gupta
525b4536c8 Delete tmpfile after edf test 2014-08-20 05:55:30 +00:00
Amit Kumar Gupta
36048a9922 Fix error in test description for KnnClassifier 2014-08-20 05:54:28 +00:00
Stephen Whitworth
710eabd2b7 Merge pull request #67 from Sentimentron/mmap-fix
edf: Removed unnecessary Sync()
2014-08-11 16:13:31 +01:00
Richard Townsend
c0d4140557 edf: Removed unnecessary Sync() 2014-08-11 14:38:57 +01:00
Stephen Whitworth
827ee92e7a Update README.md 2014-08-10 23:03:01 +01:00
Stephen Whitworth
15ceafd72e Update README.md 2014-08-10 23:00:40 +01:00
Stephen Whitworth
ffc417b0fd Merge pull request #66 from sjwhitworth/mmap_change
Changing mmap repo
2014-08-10 22:43:04 +01:00
Stephen Whitworth
e64b2cea18 Changing mmap repo 2014-08-10 22:38:50 +01:00
Stephen Whitworth
9ae366ab44 Merge pull request #63 from Sentimentron/neural
Stop-gap support for neural networks
2014-08-10 09:13:01 +01:00
Stephen Whitworth
76ef9ede34 Merge pull request #62 from Sentimentron/instances-v2
Instances v2
2014-08-10 09:12:36 +01:00
Richard Townsend
f9c1e24e5b neural: stop-gap support for neural networks 2014-08-09 19:27:20 +01:00
Richard Townsend
29b3f06566 filters: FloatConvertFilter and BinaryConvertFilter tests 2014-08-09 15:42:25 +01:00
Richard Townsend
8196db1230 base: Added support for grouping and storing BinaryAttributes
* Pond was renamed to FixedAttributeGroup.
* AttributeGroup interface.
* BinaryAttributeGroup introduced.
2014-08-09 15:42:08 +01:00
Richard Townsend
d4ac151271 naive: deterministic Attribute order 2014-08-03 23:11:46 +01:00
Richard Townsend
bb1257563b base: deterministic Attribute order 2014-08-03 23:09:18 +01:00
Richard Townsend
c894d1e80d filters: revised binning_test to be more robust 2014-08-03 22:07:08 +01:00
Richard Townsend
d13654021f edf: corrections for Travis environment 2014-08-03 22:07:08 +01:00
Richard Townsend
7f7d914732 linear_models: tests pass 2014-08-03 15:17:50 +01:00
Richard Townsend
882b780637 naive: tests pass 2014-08-03 15:17:42 +01:00
Richard Townsend
47341b2869 base: Cleaned up duplicate Attribute resolution functions 2014-08-03 15:17:20 +01:00
Richard Townsend
ff97065261 base: BinaryConvertFilter, Transform()
Transform now takes a new Attribute so BinaryConvertFilter
 can work correctly
2014-08-03 15:17:18 +01:00
Richard Townsend
c91140261d base: BinaryAttribute 2014-08-03 15:17:16 +01:00
Richard Townsend
3fea8395a9 evaluation: merge from v2-instances 2014-08-03 15:17:14 +01:00