Thiago Cardoso
0cf6d258e6
Merge branch 'master' into feature/naive
2014-06-07 23:46:07 -03:00
Bert Chang
d247bc18ea
Merge pull request #42 from nairboon/master
...
use multiple return values instead of an array in InstancesTrainTestSplit
2014-06-07 09:52:25 +08:00
Remo Hertig
f77c1dcde0
use multiple return values instead of an array in InstancesTrainTestSplit
2014-06-06 21:33:17 +02:00
Richard Townsend
8cc8aeac60
Merge pull request #41 from hpxro7/bug/shuffle
...
Fixed incorrect instance shuffling algorithm.
2014-06-06 12:11:36 +01:00
hpxro7
a54d473cdd
Fixed incorrect instance shuffling algorithm.
2014-06-05 21:54:57 -07:00
Bert Chang
e5a9ae4af2
Merge pull request #38 from penberg/travis-banner
...
Add Travis CI banner to README
2014-05-31 16:24:57 +08:00
Bert Chang
bbcb4ef440
Merge pull request #37 from penberg/travis-cblas
...
Install libatlas-base-dev for Blas package
2014-05-31 16:24:37 +08:00
Pekka Enberg
45b91dad87
Install libatlas-base-dev for Blas package
...
The Go blas package requires libcblas to be present on the system.
Travis environments run Ubuntu Linux so we need to install
libatlas-base-dev.
Signed-off-by: Pekka Enberg <penberg@iki.fi>
2014-05-31 11:08:16 +03:00
Pekka Enberg
4c6355f192
Add Travis CI banner to README
...
Signed-off-by: Pekka Enberg <penberg@iki.fi>
2014-05-31 10:52:17 +03:00
Stephen Whitworth
4fa0698748
Merge pull request #33 from Sentimentron/randomforests-upstream
...
ID3 and random decision trees and random forests
2014-05-24 10:01:38 +01:00
Richard Townsend
4fd88d834f
@mish15's re-write of Predict()
2014-05-23 12:19:10 +01:00
Richard Townsend
ce2afe34fb
Benchmarking
2014-05-23 12:16:11 +01:00
Thiago Cardoso
90458d92ed
Added Predict function
...
Added predict function along with its test. Current interface is the
same of the KNN example. In other words, only the class string is
returned from the PredictOne function.
2014-05-20 22:59:03 -03:00
Thiago Cardoso
86b18fe1c9
Finished Fit test for simple cases
...
Added the logCondProb tests for a simple test case with two classes.
2014-05-20 21:41:57 -03:00
Richard Townsend
7a33d2b9b2
Making Fit() more idiomatic
2014-05-20 09:06:59 +01:00
Richard Townsend
61f65e04aa
Merge branch 'randomforests-upstream' of github.com:Sentimentron/golearn into randomforests-upstream
2014-05-19 12:59:25 +01:00
Richard Townsend
a6072ac9de
Package documentation
2014-05-19 12:59:11 +01:00
Richard Townsend
889fec4419
Examples for RandomForest, ID3 and Random trees
2014-05-19 12:42:03 +01:00
Thiago Cardoso
45e229be12
Refactoring for base.Instances
...
Refactored the algorithm to use base.Instances. Rewrote the Fit method
to pre-calculate priors and conditional probabilities.
2014-05-18 23:23:51 -03:00
Thiago Cardoso
888dfc7e6d
Merge branch 'master' into feature/naive
2014-05-18 21:54:32 -03:00
Richard Townsend
ab39d0c972
Fixed race conditions
2014-05-18 20:59:46 +01:00
Richard Townsend
45ca6063f1
Not sure if this bagging version is better or not
...
More more similar to "Attribute bagging:improving accuracy of classifier ensembles by using random feature subsets" (Brill)
2014-05-18 11:49:35 +01:00
Richard Townsend
1b0e2dce7c
Correction to randomisation and train-test split
2014-05-18 11:23:32 +01:00
Stephen Whitworth
5d1039f3d0
Merge pull request #32 from sjwhitworth/travis
...
Travis
2014-05-17 22:32:28 +01:00
Stephen Whitworth
6cc6900da7
Shut up Travis
2014-05-17 21:50:53 +01:00
Stephen Whitworth
7c3e86d06c
Added travis build command
2014-05-17 21:48:42 +01:00
Richard Townsend
26660e1470
Corrected a problem with pruning, actual ID3 decision tree type
...
Going to modify Bagging to select attributes on its own
2014-05-17 21:45:26 +01:00
Stephen Whitworth
b70e2a318a
Fixing up stuff for Travis
2014-05-17 21:41:10 +01:00
Stephen Whitworth
60cff544b8
Merge branch 'docs' into travis
2014-05-17 21:38:01 +01:00
Stephen Whitworth
22ab4092e7
Fixing up stuff for Travis
2014-05-17 21:33:48 +01:00
Stephen Whitworth
829f98b0a0
Update README.md
2014-05-17 21:20:34 +01:00
Stephen Whitworth
f5cd616f47
Update README.md
2014-05-17 21:19:31 +01:00
Stephen Whitworth
0fc6fb7cfa
Update README.md
2014-05-17 21:19:18 +01:00
Stephen Whitworth
cc4d6a60ef
Added some starter documentation.
2014-05-17 21:17:57 +01:00
Richard Townsend
12ace9def5
Identified source of the low accuracy
2014-05-17 20:37:19 +01:00
Stephen Whitworth
697fbde085
Rename travis.yml to .travis.yml
2014-05-17 20:34:15 +01:00
Stephen Whitworth
085b8e2a30
Create travis.yml
2014-05-17 20:32:40 +01:00
Stephen Whitworth
f22c62f1ed
Update README.md
2014-05-17 20:32:04 +01:00
Richard Townsend
13c0dc3eba
Reduced-error pruning
2014-05-17 18:06:01 +01:00
Richard Townsend
c516907b13
Passes all the tests
2014-05-17 17:35:10 +01:00
Richard Townsend
db3ac3c695
ID3 algorithm working
2014-05-17 17:28:51 +01:00
Richard Townsend
cf165695c8
ChiMerge seems to improve accuracy
2014-05-17 16:20:56 +01:00
Stephen Whitworth
c68e2eed28
Merge pull request #29 from Sentimentron/discretisation-upstream
...
Equal-width and Chi-merge discretisation
2014-05-16 08:05:12 +01:00
Richard Townsend
fdb67a4355
Initial work on decision trees
...
Random Forest has occasional disastrous accuracy:
never seen that happen in WEKA
2014-05-14 14:00:22 +01:00
Richard Townsend
f59cac6345
Equal-width and Chi-merge discretisation
2014-05-13 22:45:52 +01:00
Richard Townsend
c6972988ee
Merge pull request #27 from Sentimentron/instances
...
Adds Attributes and Instances
2014-05-13 22:22:17 +01:00
Richard Townsend
a2c67592df
Adds Instances and Attributes type
...
* Refactors KNNClassifier to use them
* csv handling moved back into base due to a circular dependency
* Also adds the datasets used to test CSV handling
2014-05-13 22:08:11 +01:00
Thiago Cardoso
0035dd184e
Bernoulli Naive Bayes: first draft
...
This is the first draft of the bernoulli naive bayes implementation. It
is missing the Fit function tests and the Predict function.
2014-05-11 21:00:28 -03:00
Stephen Whitworth
9f3d9eaa64
Update linear_regression.go
...
Removing merge conflict.
2014-05-06 23:13:02 +01:00
Stephen Whitworth
d069d68d05
Merge branch 'master' of https://github.com/sjwhitworth/golearn
2014-05-05 22:49:06 +01:00