1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-05-07 19:29:19 +08:00

539 Commits

Author SHA1 Message Date
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
Richard Townsend
ca0dea204e Merge pull request #121 from Sentimentron/dbscan
clustering: creates the package and implements DBSCAN
2015-10-17 12:38:12 +01:00
Richard Townsend
986cd230f9 clustering: creates the package and implements DBSCAN
Verified against scikit-learn's implementation (gen_test.py)
2015-10-10 20:20:33 +01:00
Richard Townsend
6ed783530a Merge pull request #120 from EtienneBruines/master
Updated Dot and Sum methods according to changes in gonum/matrix.
2015-09-25 19:03:32 +01:00
Etienne Bruines
336b94fee8 Updated Dot and Sum methods according to changes in gonum/matrix.
Fixes #119.
2015-09-24 17:50:34 +02:00
Richard Townsend
d1140a3519 Merge pull request #117 from Sentimentron/mat64-update
Update to the latest version of gonum's API
2015-09-19 11:23:04 +01:00
Richard Townsend
929d7d40ac travis: drop support for go 1.2
gonum needs sync.Pool which go 1.2 doesn't have (according to the Travis
log anyway).
2015-09-13 11:46:22 +01:00
Richard Townsend
23adc9ec25 neural: update to new mat64 API 2015-09-13 11:24:09 +01:00
Richard Townsend
918a8c99ba pairwise: update to latest mat64 API 2015-09-13 11:24:00 +01:00
Richard Townsend
c16fade796 linear_moddels: update to latest mat64 API 2015-09-13 11:23:55 +01:00
Richard Townsend
03dbdf75ad Merge pull request #115 from nickpoorman/master
Removed decimal precision formatting from String() string for MultiLayerNet.
2015-07-14 14:14:58 +01:00
Nick Poorman
8507a0cba8 Removed decimal precision formatting from String() string for MultiLayerNet.
Convergence and LearningRate values less than 0.00, ie. 0.003, were being printed as 0.00 which was incredibly misleading when debugging.
2015-07-13 18:30:27 -04:00
Richard Townsend
88e577bd01 Merge pull request #114 from Sentimentron/travis-fix
metrics/pairwise: correct goconvey-related problem
2015-05-26 23:54:35 +01:00
Richard Townsend
581451d726 metrics/pairwise: correct goconvey-related problem
goconvey's ShouldPanicWith never seems to succeed,
this patch weakens the condition to ShouldPanic.
2015-05-26 23:43:35 +01:00
graham
5e631a49c8 added softplus relu 2015-05-26 15:20:55 -07:00
Stephen Whitworth
008c441e4c Update README.md 2015-05-06 07:39:21 +01:00
Sergey Romanov
0217fef0c2 Implementation of PCA with mat64.Dense 2015-03-12 02:51:31 +05:00
Stephen Whitworth
2b6533e659 Merge pull request #109 from sjwhitworth/fix_breaking_changes
Fixing broken Travis build, with slight refactor.
2015-01-27 13:35:37 +00:00