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

539 Commits

Author SHA1 Message Date
Richard Townsend
c39ef5156b
Merge pull request #249 from Yushgoel/cart_reviewed
Implements CART (Classification And Regression Trees) algorithm
2020-08-06 17:17:37 +01:00
Ayush
27b86ce3ea Delete tmp 2020-08-06 21:43:47 +05:30
Ayush
b689fe0c58 Fixing Typo + tmp file 2020-08-03 09:41:35 +05:30
Ayush Goel
2a54c10a37
Merge pull request #4 from Yushgoel/cart
Fixing Library
2020-08-01 15:34:16 +05:30
Ayush
e55a329d8a Fixing Bug 2020-08-01 15:32:59 +05:30
Ayush Goel
cee05df456
Merge pull request #1 from Yushgoel/cart
Cart
2020-08-01 15:15:06 +05:30
Ayush
cad05a087a Updating Logistic.go 2020-08-01 15:11:38 +05:30
Ayush Goel
4e5315a687
Merge pull request #3 from sjwhitworth/master
Updating cart_reviewed
2020-08-01 15:03:02 +05:30
Ayush
8ae385ca25 Complexity Analysis for Algorithm 2020-08-01 13:16:34 +05:30
Ayush
cd2b86aa2e Changing var name 2020-08-01 11:43:14 +05:30
Ayush
6a42fcd4ae catching nInstances == 0 2020-08-01 11:36:53 +05:30
Ayush
9d1ac82a40 Optimizing Loss Calculation 2020-08-01 11:25:53 +05:30
Ayush
ae2338c2c1 Updating package level details 2020-07-31 12:38:34 +05:30
Ayush
7f8ce6d113 Removing Panics 2020-07-31 11:01:20 +05:30
Ayush
7276108661 Adding Documentation
Comparision in performance and implementation with sklearn.
2020-07-30 11:48:50 +05:30
Ayush
d587340e4a Renaming Impurity Functions 2020-07-30 11:21:06 +05:30
Ayush
1954aae7a6 Changing name of Use_not 2020-07-30 10:27:16 +05:30
Ayush
2d2af0a58f Removing Clutter
Partial Modularization of best split method. Shorten method by declaring variables in same line as well.

Also removing redundant functions, and adding into cart_utils.
2020-07-28 14:17:18 +05:30
Ayush
ef751e62c4 Adding cart_test.go 2020-07-27 17:08:44 +05:30
Ayush
91a27e3ca0 Fixing Comments 2020-07-27 15:03:12 +05:30
Ayush
abed408f9b Updating Dataset + Naming 2020-07-26 11:21:20 +05:30
Richard Townsend
a6614fa9f5
Merge pull request #247 from AlekSi/patch-1
Bump Go versions
2020-07-25 18:25:19 +01:00
Ayush
c0c3b2e1bf Fixing Sorting 2020-07-25 13:22:15 +05:30
Ayush
b16b60fcb5 Adding Example script for CART 2020-07-23 16:45:31 +05:30
Alexey Palazhchenko
c40ae76b9c
Require Go 1.13+ 2020-07-22 19:38:39 +03:00
Alexey Palazhchenko
c793b1d2c5
Restore workaround 2020-07-22 19:29:30 +03:00
Alexey Palazhchenko
065f45d1ee
Bump Go versions 2020-07-22 19:23:51 +03:00
Ayush
c083759523 Adding Changes 2020-07-22 14:34:59 +05:30
Ayush
08529c42cf Added Comments for Regressor 2020-07-18 14:21:50 +05:30
Ayush
16eac7d86d Adding Regression Trees 2020-07-18 12:26:50 +05:30
Ayush
d1228c5508 Adding Integration For Fixed Data Grid in Predict And Evaluate 2020-07-18 10:47:22 +05:30
Ayush
8848652943 Added Decision Tree Classifier
CART implementation of Decision Tree Classifier, based on Gini Impurity or Entropy, as selected by the user.
2020-07-16 13:37:34 +05:30
Richard Townsend
3e43e74895
Merge pull request #240 from yaserazfar/check_unchecked_errors
Add error checking for err variables that were being left unchecked
2019-12-30 16:12:59 +00:00
Yaser Azfar
ae8d7f7baa adds error checking for err variable that were being left unchecked 2019-12-27 12:10:38 +13:00
Richard Townsend
6fcc2b4ea5
Merge pull request #235 from JustinJudd/classInt
Fixed BernoulliNBClassifier to satisfy base.Classifier interface
2019-07-25 16:24:26 +01:00
Justin Judd
fadd9630bf Added String method to meet Classifier interface 2019-07-17 08:42:30 -05:00
Justin Judd
bffc4a52e6 Replace Panics with error returns to BernoulliNBClassifier Fit method to satisfy base.Classifier interface 2019-07-17 11:44:53 +09:00
Richard Townsend
c3cae572f4
Merge pull request #233 from Sentimentron/fixes-jun-19
Fix #232 and #229
2019-06-19 23:31:07 +01:00
Richard Townsend
850c914780 metrics: fixing pairwise CloneFrom 2019-06-18 10:36:02 +01:00
Richard Townsend
495bb91a48 neural: update to new mat64 API 2019-06-18 10:28:07 +01:00
Richard Townsend
864198dc6c clustering: update to new mat64 API
Fixes: #229
2019-06-16 16:41:28 +01:00
Richard Townsend
1fd926a3d9 linear_models: update to use new mat64 API
Fixes #232
2019-06-16 16:40:52 +01:00
Richard Townsend
82e59c89f5
Merge pull request #228 from Sentimentron/fix-11
Fix for error that happens on Go 1.11 and above
2019-03-23 18:59:25 +00:00
Richard Townsend
ac9fa85307 Fix for error that happens on Go 1.11 and above 2019-03-23 18:54:04 +00:00
Richard Townsend
5d79ed7114
Merge pull request #223 from sugarme/issue222
resolves #222
2019-03-23 18:45:14 +00:00
Richard Townsend
54a9a24821
Merge pull request #226 from tboudalier/master
Adapt for go 1.12 - Issue #225
2019-03-23 18:44:29 +00:00
Richard Townsend
744cde5cc3
Merge pull request #227 from Sentimentron/add-go-12
Ask Travis to test Go 1.11 and Go 1.12, drop support for Go 1.8
2019-03-23 18:43:39 +00:00
Richard Townsend
392c77537b Drop support for Go 1.8 2019-03-23 18:39:05 +00:00
Richard Townsend
b42867aceb
Merge branch 'master' into issue222 2019-03-23 18:34:21 +00:00
Richard Townsend
fbd5c5ae06
Merge pull request #224 from Soypete/master
FIX/update_gonum_matrix
2019-03-23 18:33:21 +00:00