Ningping Wang
dca2e11c02
move liblinear to ext/
2014-05-09 18:19:55 +08:00
Ningping Wang
7f1e235323
Merge remote-tracking branch 'ups/master'
2014-05-09 17:42:28 +08:00
Stephen Whitworth
9f3d9eaa64
Update linear_regression.go
...
Removing merge conflict.
2014-05-06 23:13:02 +01:00
Ningping Wang
0d62bc67e5
change test to goconvey; modify makefile
2014-05-06 12:55:58 +08:00
Stephen Whitworth
d069d68d05
Merge branch 'master' of https://github.com/sjwhitworth/golearn
2014-05-05 22:49:06 +01:00
Stephen Whitworth
1ade0afca6
Refactored KNN to implement the estimator interface
2014-05-05 22:41:55 +01:00
Stephen Whitworth
3850153945
Merge pull request #20 from sjwhitworth/feature/ifesdjeen/distances2
...
Remeake of my previous distances branch
2014-05-05 22:17:23 +01:00
Stephen Whitworth
3eaeafd0dc
Merge branch 'feature/ifesdjeen/distances2' of https://github.com/sjwhitworth/golearn into optimisation
2014-05-05 21:57:08 +01:00
Stephen Whitworth
7e8eb70cd1
Implemented batch and stochastic gradient descent
2014-05-05 21:40:51 +01:00
Stephen Whitworth
cd43a6565d
Implemented batch and stochastic gradient descent
2014-05-05 21:40:33 +01:00
Alex Petrov
93894245ad
Change wording for Eucledian Distance comments
2014-05-05 22:30:04 +02:00
Bert Chang
1e21802d2e
Use AlmostEqual for numerical comparison.
2014-05-05 23:28:49 +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
Alex Petrov
1d250aab6b
Remove unused subVector calls
2014-05-05 08:45:29 +02:00
Alex Petrov
13327e9250
Run goftm on all files ti fix indentation
2014-05-05 08:32:38 +02:00
Stephen Whitworth
dc96e818d8
Made a start on gradient descent
2014-05-05 02:39:00 +01:00
Alex Petrov
ad77c0dc7e
Add Chebyshev and Cranberra distances, improve Manhattan distance
...
Previously, Manhattan distance measure was only able to calculate
vector distances. Now, it's possible to calculate distances on
matrices, too, without unnecessary overhead of copying vectors,
doing an in-place lookups.
2014-05-04 23:11:37 +02:00
Alex Petrov
1c22641a3b
Fix manhattan distance calculation
2014-05-04 22:58:32 +02:00
Stephen Whitworth
b4abf54c07
Changing comments to play nicely with godoc
2014-05-04 09:57:57 +01:00
Stephen Whitworth
73e7df1ef0
Refactored KNN
2014-05-04 09:53:53 +01:00
Stephen Whitworth
99b7f26f09
Merge branch 'master' of https://github.com/sjwhitworth/golearn into docs
2014-05-04 09:52:27 +01:00
Stephen Whitworth
82e5bf014f
Refactored knn
2014-05-04 09:52:13 +01:00
Stephen Whitworth
7090138b88
Update golearn.go
2014-05-04 09:49:20 +01:00
Stephen Whitworth
ea3b3842c9
Update utilities.go
2014-05-04 09:48:00 +01:00
Stephen Whitworth
aee7e69e7b
Update knn.go
2014-05-04 09:39:21 +01:00
Stephen Whitworth
a92d830ec3
Update golearn.go
2014-05-04 09:38:35 +01:00
Stephen Whitworth
71e9a8502c
Update golearn.go
2014-05-04 09:37:02 +01:00
Stephen Whitworth
be7ac21a55
Update README.md
2014-05-04 09:31:31 +01:00
Stephen Whitworth
79e240df3d
Update README.md
2014-05-04 09:30:38 +01:00
Stephen Whitworth
94077bd6db
Merge pull request #18 from sjwhitworth/interfaces
...
KNN, Metrics and interface design
2014-05-04 09:22:31 +01:00
Stephen Whitworth
822b4c389f
Finished an implementation of KNN
2014-05-03 23:08:43 +01:00
Stephen Whitworth
0c4d803b5b
Update README.md
2014-05-03 18:38:20 +01:00
Stephen Whitworth
7b741964f3
Update README.md
2014-05-03 18:36:08 +01:00
Stephen Whitworth
a903ad288e
Merge pull request #15 from nbsantos/cross-validation
...
Cross validation
2014-05-03 17:52:12 +01:00
Stephen Whitworth
798751c839
Merge pull request #12 from sjwhitworth/metrics
...
Metrics
2014-05-03 17:37:51 +01:00
Nelson Santos
779ad2842e
Moved to own package and added concurrency support
...
Moved the function to the cross_validation package. Also modified the
shuffling function to run concurrently.
2014-05-03 12:01:38 -04:00
Bert Chang
551dfc8cc1
Add doc link to README.
2014-05-03 23:06:28 +08:00
Bert Chang
1ec702a1e5
Add documents.
2014-05-03 23:05:24 +08:00
Bert Chang
9a61332551
Make manhattan support both col&row vectors.
2014-05-03 22:47:41 +08:00
Bert Chang
b045cf83a5
Add manhattan distance.
2014-05-03 22:27:34 +08:00
Bert Chang
6517c838c4
Add basic PolyKernel and RBFKernel test.
2014-05-03 22:02:39 +08:00
Bert Chang
83faf52273
Remove examples, remove CheckDimMatch.
2014-05-03 15:29:07 +08:00
Nelson Santos
030d9844c6
Added Mac and IntelliJ files to gitignore.
2014-05-02 22:38:45 -04:00
Nelson Santos
b09a1cecae
Refactored function to use mat64.
...
Changed most of the actual matrix operations to use the mat64 library.
2014-05-02 22:38:15 -04:00
Nelson Santos
2b6249775f
Started working on cross-validation tools.
...
Created TrainTestSplit function to split train and test datasets.
2014-05-02 20:50:14 -04:00
Bert Chang
0b85e5d752
Migrate to mat64 in poly_kernel.
2014-05-03 01:19:12 +08:00
Bert Chang
985ccc9d19
We don't need to manually handle error anymore.
2014-05-03 01:07:33 +08:00
Bert Chang
804cd82cfc
Use gonum/matrix/mat64, life is easier.
2014-05-03 00:56:28 +08:00
Bert Chang
4fc0ed0477
Add euclidean distance test.
2014-05-02 23:49:06 +08:00