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

355 Commits

Author SHA1 Message Date
FrozenKP
8d0ce56382 go fmt cosine.go and add Cosine distance to knn.Predict 2017-04-07 21:22:40 +08:00
FrozenKP
8791b6a751 add Cosine Distance 2017-04-07 21:11:20 +08:00
Richard Townsend
b2f8539172 Merge pull request #163 from jeasonstudio/master
Wiki translate to Chinese
2017-04-07 08:40:45 +01:00
赵吉彤
77763a443f - to * 2017-04-07 09:54:52 +08:00
赵吉彤
07488de798 add markdown files 2017-04-07 09:54:10 +08:00
赵吉彤
9ac94967cc fix 2017-04-07 09:53:59 +08:00
赵吉彤
b71076c9a6 part of 2017-04-07 09:34:54 +08:00
赵吉彤
5df5f430a6 add doc 2017-04-07 09:34:49 +08:00
Richard Townsend
102dececf7 Merge pull request #161 from FrozenKP/master
add ShowConfusionMatrix() to show a readable version of ConfusionMatrix
2017-03-28 18:07:35 +01:00
FrozenKP
dbf7a539a8 add ShowConfusionMatrix() to show a readable version of ConfusionMatrix 2017-03-27 20:02:15 +08:00
Richard Townsend
6292a917ee Merge pull request #160 from FrozenKP/master
fix bug of tree.Fit( testData ) in example.
2017-03-23 19:34:17 +00:00
Yi-Hsien Chen
e17aa8deb6 fix bug of tree.Fit( testData ).
change testData to trainData
2017-03-23 11:42:07 -05:00
Richard Townsend
9884cbc086 Merge pull request #157 from linkerlin/patch-2
Update util_attributes.go
2017-02-14 18:49:29 +00:00
Linker Lin
9aa4ee64b5 Update util_attributes.go
replaced range by []
2017-02-14 15:08:12 +08:00
Richard Townsend
f1c2055e76 Merge pull request #156 from xn0px90/patch-1
Update .travis.yml
2017-02-12 17:23:22 +00:00
xn0px90
40138b6a8e Update .travis.yml 2017-02-09 05:31:48 -05:00
Richard Townsend
37715b5c67 Merge pull request #152 from tmlbl/master
Return errors allowing KNNClassifier to implement Classifier
2016-10-12 22:13:44 +08:00
Tim Lebel
1d77ccdec6 Return errors allowing KNNClassifier to implement Classifier 2016-10-10 19:59:47 -07:00
Richard Townsend
72768fa9fc Merge pull request #149 from Sentimentron/fix-mat-regression
base: fix a failing test case
2016-09-29 11:38:51 +01:00
Richard Townsend
0f0b4d800b base: fix a failing test case 2016-09-29 11:33:36 +01:00
Richard Townsend
855df3a7fa Merge pull request #135 from Sentimentron/inline-training-data
Support the use of mat64.Dense as an instance type
2016-09-29 11:25:16 +01:00
Richard Townsend
d4d285387c Merge pull request #148 from sjwhitworth/Sentimentron-travis-fix
Try to fix Travis again
2016-09-28 15:24:03 +01:00
Richard Townsend
9345938082 Merge pull request #147 from Sentimentron/issue-146
metrics: update dot-product to match new mat64 version
2016-09-28 15:23:48 +01:00
Richard Townsend
40ff668377 Try to fix Travis again 2016-09-28 15:20:58 +01:00
Richard Townsend
fab0758198 metrics: Fix TestPolyKernel 2016-09-28 15:12:32 +01:00
Vineeth Pillai
2d462da5b3 metrics: update dot-product to match new mat64 version
See issue #146
2016-09-22 09:28:23 +01:00
Richard Townsend
473ffe8e83 Merge pull request #144 from Sentimentron/issue-143
Fixes an issue identified in #143
2016-07-11 23:35:06 +01:00
Richard Townsend
f339111871 knn: adding additional test case 2016-07-11 23:27:04 +01:00
Richard Townsend
7041fc33c7 base: correct handling of class attributes in ParseCSVToTemplatedInstances 2016-07-11 23:16:18 +01:00
Richard Townsend
457a00ac7c knn: replicating issue #143 in test suite 2016-07-11 23:05:03 +01:00
Richard Townsend
063aab5c3c knn: making space for additional test data 2016-07-11 23:01:28 +01:00
Richard Townsend
812c3f90cc Merge pull request #1 from dhrp/inline-training-data
added String() function to sentimentIron's inline-training-data function
2016-07-07 11:04:47 +01:00
Thatcher Peskens
de9a6246fd added String() function to sentimentIron's inline-training-data function 2016-07-06 18:00:30 -07:00
Richard Townsend
de01a2fd10 Merge pull request #138 from anzellai/fix/go-vet-complaints
Fix go vet complaints
2016-07-04 13:24:41 +01:00
Richard Townsend
7df81bb286 Merge pull request #140 from rschmukler/id3_fix
fix(id3): fix panic on SplitAttribute being nil
2016-07-04 13:24:30 +01:00
Richard Townsend
4a2b2a30fc Merge pull request #142 from defcube/arff3
Serialize ARFF to Writer in Addition to a File
2016-07-04 13:23:46 +01:00
Philip Gatt
f74483db53 Serialize ARFF to Writer in Addition to a File 2016-06-28 15:52:04 -07:00
Ryan Schmukler
cf6192c81c fix(id3): fix panic on SplitAttribute being nil 2016-06-28 14:36:48 -04:00
Anzel Lai
481da97eca Fix go vet complaints 2016-06-14 00:56:47 +01:00
Richard Townsend
6f7326b6ff neural: check that the new dense instances type works... 2016-05-22 12:58:51 +01:00
Richard Townsend
590d7a8091 base: add a new instances type for mat64 2016-05-22 12:58:50 +01:00
Stephen Whitworth
3fbf507799 Merge pull request #137 from Sentimentron/fix-travis
Travis: drop support for go 1.3
2016-05-21 19:16:26 +01:00
Richard Townsend
71c761e7df Travis: drop support for go 1.3
Fixes #133 and #134, temporary workaround for #129 so we can continue
testing.
2016-05-21 18:59:06 +01:00
Stephen Whitworth
7912498413 Merge pull request #130 from briansorahan/master
add dockerfile
2016-04-15 07:57:55 +01:00
Stephen Whitworth
e8ce77bb05 Merge pull request #113 from grahamannett/patch-1
added softplus relu
2016-04-15 07:57:23 +01:00
Brian Sorahan
5fc488daff add dockerfile 2016-04-14 17:36:31 -05:00
Richard Townsend
07485b621d Merge pull request #127 from cratonica/master
Fix breakage due to gonum/matrix mat64.ErrShape
2015-10-26 17:17:18 +00:00
Clint Caywood
d9d15fb735 Fix breakage due to gonum/matrix mat64.ErrShape 2015-10-24 22:44:24 -07:00
Richard Townsend
51ca101d6c Merge pull request #118 from thedadams/master
Fix KNN if all Attributes are FloatAttribute
2015-10-17 22:50:04 +01:00
Donnie Adams
bce1f15444 Update knn.go to allow all FloatAttributes. 2015-10-17 10:56:18 -07:00