Yaser Azfar
ae8d7f7baa
adds error checking for err variable that were being left unchecked
2019-12-27 12:10:38 +13:00
Richard Townsend
1fd926a3d9
linear_models: update to use new mat64 API
...
Fixes #232
2019-06-16 16:40:52 +01:00
ss8651twtw
1e1b5f11fb
Format code
2018-06-16 22:14:18 +08:00
yenck
80bc1ac6f8
some test for C0
2018-06-16 22:11:59 +08:00
yenck
30071eb8a4
some test for C9
2018-06-16 22:11:59 +08:00
yenck
d74c48e1b0
recover
2018-06-16 22:11:59 +08:00
yenck
77b8faa22c
C0
2018-06-16 22:11:59 +08:00
Richard Townsend
ff52c013eb
Update gonum to latest version
...
Should fix #200 and #205
2018-03-24 00:19:35 +00:00
Richard Townsend
fc110aab48
Fix bad import, reformat
2017-09-10 20:35:34 +01:00
Richard Townsend
c18d50d217
meta: tests passing
2017-09-10 17:43:17 +01:00
Richard Townsend
c16fade796
linear_moddels: update to latest mat64 API
2015-09-13 11:23:55 +01:00
Stephen Whitworth
183c672cfe
Hopefully, should build now.
2015-01-27 12:32:19 +00:00
Stephen Whitworth
7ea42ac80b
Merge pull request #101 from Sentimentron/arff-staging
...
ARFF import/export, CSV export, lossless serialisation
2014-11-21 13:53:43 +00:00
Richard Townsend
e30ff6580a
ARFF import/export, CSV export, serialisation
...
* Only numeric and categorical ARFF attributes are currently supported.
* Only the dense version of the ARFF format is supported.
* Compressed format is .tar.gz file which should allow extensibility.
* Attributes stored using JSON representations.
* Also offers smarter estimation of the precision of numeric Attributes.
* Also adds support for writing instances to CSV
2014-11-13 20:09:00 +00:00
Richard Townsend
8fe06e7332
Support for individual class weightings
2014-10-30 23:28:26 +00:00
Richard Townsend
981d43f1dd
Adds support for multi-class linear SVMs.
...
This patch
* Adds a one-vs-all meta classifier into meta/
* Adds a LinearSVC (essentially the same as LogisticRegression
but with different libsvm parameters) to linear_models/
* Adds a MultiLinearSVC into ensemble/ for predicting
CategoricalAttribute classes with the LinearSVC
* Adds a new example dataset based on classifying article headlines.
The example dataset is drawn from WikiNews, and consists of an average,
min and max Word2Vec representation of article headlines from three
categories. The Word2Vec model was computed offline using gensim.
2014-10-05 11:15:41 +01:00
Ubasic
979c727124
move ext source to linear_models for build static
2014-09-25 16:14:53 +08:00
Amit Kumar Gupta
93838e30e3
Revert "Remove hardly-used logger"
...
This reverts commit 151df652cab334066826f53d0c7ad8b48c884cae.
2014-08-25 08:11:36 +00:00
Amit Kumar Gupta
25811f833b
Revert "Remove (mostly) unused C print functions in linear package"
...
This reverts commit f9e41dec2860090e00dd1e0fb74c1beb79197ae5.
2014-08-25 08:11:36 +00:00
Amit Kumar Gupta
f9e41dec28
Remove (mostly) unused C print functions in linear package
2014-08-23 05:27:40 +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
151df652ca
Remove hardly-used logger
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
45545d6ebd
Remove Println's from automated test suite since they aren't assertions
2014-08-22 07:58:01 +00:00
Amit Kumar Gupta
21bb2fc9fa
Remove redundant import renames
2014-08-22 07:21:24 +00:00
Richard Townsend
7f7d914732
linear_models: tests pass
2014-08-03 15:17:50 +01:00
Richard Townsend
47341b2869
base: Cleaned up duplicate Attribute resolution functions
2014-08-03 15:17:20 +01:00
Richard Townsend
77596a32ed
linear_models: merge from v2-instances
2014-08-03 15:17:07 +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
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
61ec4f02c3
Add benchmark
2014-07-20 09:58:02 +03:00
Niclas Jern
e27381b91c
Added doc.go for linear_models.
2014-07-19 16:16:02 +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
Richard Townsend
0bc71a6ad2
linear_models: reverts 94a562b
2014-07-18 22:53:54 +01:00
Niclas Jern
4d7bc20a36
Should replace "val += 1" with "val++"
2014-07-18 13:25:18 +03: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
477438d972
linear_models: More idiomatic
2014-07-02 15:50:08 +01:00
Ningping Wang
dca2e11c02
move liblinear to ext/
2014-05-09 18:19:55 +08:00
Ningping Wang
0d62bc67e5
change test to goconvey; modify makefile
2014-05-06 12:55:58 +08:00
npbool
be85fca03c
cleanup
2014-05-05 21:57:53 +08:00
npbool
05782e9ccc
logistic regression, using liblinear
2014-05-05 21:50:13 +08:00