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

195 Commits

Author SHA1 Message Date
Richard Townsend
3821477b0f filters: merge from v2-instances 2014-08-03 15:17:04 +01:00
Richard Townsend
a9028b8174 examples: merge from v2-instances 2014-08-03 15:16:58 +01:00
Richard Townsend
2e5deb1476 ensemble: merge from v2-instances 2014-08-03 15:16:50 +01:00
Richard Townsend
2bb7c2de75 base: merge from v2-instances 2014-08-03 15:16:38 +01:00
Stephen Whitworth
5b50cffc91 Merge pull request #51 from Sentimentron/liblinear-1.94
Liblinear 1.94
2014-07-26 20:19:09 -04:00
Stephen Whitworth
a3f53c8fde Merge pull request #56 from albrow/master
Use a user-configurable log.Logger to print to console instead of fmt.Println
2014-07-26 20:18:53 -04:00
Stephen Whitworth
e6c28efe2d Merge pull request #54 from njern/knn_refactor
Knn refactor
2014-07-26 20:18:28 -04:00
Stephen Whitworth
8cc8c7b947 Merge pull request #59 from tncardoso/feature/naive
Bernoulli Naive Bayes
2014-07-26 11:23:39 -04:00
Thiago Cardoso
ec04f14a72 Added package documentation 2014-07-23 20:02:22 -03:00
Thiago Cardoso
923d2cd817 Merge branch 'master' into feature/naive 2014-07-23 19:54:12 -03:00
Bert Chang
401bdab771 Merge pull request #58 from yurrriq/patch-1
Update README.md
2014-07-23 10:08:34 +08:00
Eric Bailey
d69e397272 Update README.md
minor formatting, more detail under Examples
2014-07-22 15:40:39 +00:00
Richard Townsend
800d22eb89 Redirects liblinear logging output 2014-07-21 00:17:16 +01:00
albrow
132e3f4527 Create a new default logger and change some print statements to use the logger instead of fmt.Println. 2014-07-20 15:26:13 -04:00
Niclas Jern
779551ee86 One must always convert one's vectors 2014-07-20 20:20:37 +03:00
Stephen Whitworth
45a1122b3e Update README.md 2014-07-20 08:58:59 -07:00
Stephen Whitworth
0eff41337a Merge pull request #53 from njern/linear_regression
Add benchmark
2014-07-20 08:32:21 -07:00
Niclas Jern
cbb4ae33f8 When the user picks manhattan distance, we should actually use the Manhattan distance function. Also slight refactor to make the code more DRY. 2014-07-20 10:20:28 +03:00
Niclas Jern
1a8177afe7 Add distanceFunc interface to metrics. 2014-07-20 10:04:22 +03:00
Niclas Jern
61ec4f02c3 Add benchmark 2014-07-20 09:58:02 +03:00
Stephen Whitworth
222b0ab33d Merge pull request #52 from njern/linear_regression
Linear regression
2014-07-19 09:30:58 -07:00
Niclas Jern
2a3d80b475 Remove complete unnecessary fmt.Println :) 2014-07-19 16:31:11 +03:00
Niclas Jern
e27381b91c Added doc.go for linear_models. 2014-07-19 16:16:02 +03:00
Niclas Jern
3fd2c95bcd Added missing csv newlines. 2014-07-19 16:06:10 +03:00
Niclas Jern
1ed7ea4f86 Removed unused lm package. 2014-07-19 16:05:44 +03:00
Niclas Jern
9d9abe230a Implemented linear regressions. 2014-07-19 16:02:11 +03:00
Niclas Jern
165421c635 Wrote unit tests for LinearRegressions. 2014-07-19 16:00:49 +03:00
Niclas Jern
7c4bb5c81c Added examples used in linear regression tests. 2014-07-19 15:59:55 +03:00
Richard Townsend
f1cee0b741 linear_models: Travis configuration 2014-07-18 23:08:17 +01:00
Richard Townsend
0bc71a6ad2 linear_models: reverts 94a562b 2014-07-18 22:53:54 +01:00
Bert Chang
4bda400c66 Merge pull request #49 from njern/golint
Apply Golint and go vet.
2014-07-18 21:21:35 +08:00
Niclas Jern
5d00d8942e Overeagerly replaced an Error() with Errorf(). 2014-07-18 16:15:19 +03:00
Niclas Jern
fabb2a6007 arg t.Frequency for printf verb %s of wrong type: map[string]int 2014-07-18 14:05:28 +03:00
Niclas Jern
e060684a29 Passing parameters to Error() as if it was Errorf() 2014-07-18 14:04:59 +03:00
Niclas Jern
13da7d0cac error strings should not be capitalized 2014-07-18 14:00:22 +03:00
Niclas Jern
90106077cc base/instances.go:145:21: error strings should not end with punctuation 2014-07-18 13:59:00 +03:00
Niclas Jern
716bddc46a receiver name should be a reflection of its identity; dont use generic names such as "me", "this", or "self" 2014-07-18 13:58:07 +03:00
Niclas Jern
e714470814 receiver name b should be consistent with previous receiver name c for ChiMergeFilter 2014-07-18 13:55:17 +03:00
Niclas Jern
8f154559f1 receiver name Inst should be consistent with previous receiver name inst for Instances 2014-07-18 13:50:12 +03:00
Niclas Jern
627a5537d3 Comments should be of the form "<Struct> ..." or "<MethodName> ..." 2014-07-18 13:48:28 +03:00
Niclas Jern
4d7bc20a36 Should replace "val += 1" with "val++" 2014-07-18 13:25:18 +03:00
Niclas Jern
32f36f28c3 if block ends with a return statement -> drop this else and outdent its block 2014-07-18 13:20:46 +03:00
Niclas Jern
daac7a278d Omit unused second value from range statements. 2014-07-18 13:17:19 +03:00
Stephen Whitworth
fbc7df8c2c Merge pull request #46 from Sentimentron/build-fix
Trying to fix the Travis build
2014-07-07 08:13:26 +01:00
Richard Townsend
94a562be35 Uses the system version of liblinear
Conflicts:
	linear_models/liblinear.go
2014-07-03 10:09:48 +01:00
Richard Townsend
9ce6ec5afe Trying to fix Travis 2014-07-03 10:00:10 +01:00
Richard Townsend
56cb8a4bb0 Fixed an installation problem 2014-07-02 22:44:46 +01:00
Richard Townsend
57ea53af7c liblinear: Hopefully fixed the go get error 2014-07-02 21:30:27 +01:00
Richard Townsend
477438d972 linear_models: More idiomatic 2014-07-02 15:50:08 +01:00
Richard Townsend
521844cbb2 base: handling spaces between entries 2014-07-02 15:48:14 +01:00