kortschak
8bf878d458
Make use of gonum/blas/blas64
2015-01-09 10:45:17 +10:30
Jonathan J Lawlor
37b73e7875
go fmt, and remove test logging
2014-12-23 21:44:20 -05:00
Jonathan J Lawlor
0328ead3be
Test comparison between CovarianceMatrix and Covariance
...
Added consistency check. Surprise! It turns out that the Covariance
implementation was wrong in the weighted case, sometimes.
2014-12-23 21:43:26 -05:00
Jonathan J Lawlor
93f33faa81
add tests for immutability
2014-12-23 21:03:12 -05:00
Jonathan J Lawlor
d50d7fb383
correct weighted test, and make fixture clearer
...
Changed the names of the test table to be clearer. Also made the
answer a matrix and used Dense.Equals instead of performing the
comparison on r, c, and the raw data.
Also, the old results for the weighted case were wrong. I’ve added the
same items into the stat_test.go file.
2014-12-22 19:58:09 -05:00
Jonathan J Lawlor
f757c287d4
change benchmark constant names to lowercase
...
Changed SMALL, MEDIUM, LARGE, and HUGE to small, medum, large, and
huge, respectively.
2014-12-21 19:07:01 -05:00
Jonathan J Lawlor
7aa58b6a94
remove unused benchmark functions
2014-12-21 18:57:00 -05:00
Jonathan J Lawlor
bce5c81adc
update doc, add test for mat64.Vec
2014-12-02 21:08:47 -05:00
Jonathan J Lawlor
0d3fcca1eb
change mat64.Vec to []float64
2014-12-02 20:47:56 -05:00
Jonathan J Lawlor
86e8ba26e0
change covariance matrix to accept weight vector
...
mat64.Matrix would accept matrixes with more than one column.
Enforcing size by using a Vec makes more sense.
2014-11-29 14:49:28 -05:00
Jonathan J Lawlor
3d936bfda0
add tests for covariancematrix panic
2014-11-22 16:36:18 -05:00
Jonathan J Lawlor
e5b54c7f4c
implement tests for in place and weighted covariance
2014-11-18 19:23:37 -05:00
Jonathan J Lawlor
cbcfcd0f7d
remove tests for non-blas code path
2014-11-17 23:57:36 -05:00
Jonathan J Lawlor
132baec6d9
implement tests for when there is no BLAS
2014-11-17 22:24:01 -05:00
Jonathan J Lawlor
27e74b895e
only perform shorter benchmarks
2014-11-15 15:14:40 -05:00
Jonathan J Lawlor
90ad2f48c7
add benchmarks
2014-11-15 14:16:30 -05:00
Jonathan J Lawlor
63a1bac14c
Initial work on covariancematrix
2014-11-15 00:49:46 -05:00