Commit Graph

7 Commits

Author SHA1 Message Date
Brendan Tracey
6ee525f5f2 stat/distuv: Add Entropy function for Beta distribution (#513)
* stat/distuv: Add Entropy function for Beta distribution
2018-05-30 22:43:20 -06:00
Brendan Tracey
12862f70a9 stat/all: Change all Source to Src (#355)
* stat/all: Change all Source to Src

Fixes original gonum/stat #147
2017-12-19 05:53:59 -07:00
kortschak
fa0c5aa7bc all: use golang.org/x/exp/rand instead of math/rand 2017-11-17 11:52:34 +10:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
Brendan Tracey
e5448cb39f stat/all: reduce random size and test tolerance to decrease testing t… (#181)
* stat/all: reduce random size and test tolerance to decrease testing time.

We were generating a lot of random numbers, which is slow. Decrease the size of those random numbers, and in some cases increase the tolerance to compensate. In a couple cases, pull out code from testFullDist to allow for more fine-grained testing. This decrases:
distmat from 4.5s to 0.5s
distmv from 24.8s to 9s
distuv from 65.2s to 13s
samplemv from 2.8s to 1.2s
sampleuv from 3.5s to 2.1s
2017-08-07 18:09:24 -06:00
Brendan Tracey
d33397aa65 all: change import paths 2017-05-23 00:03:03 -06:00
Brendan Tracey
61c782d390 stat: imported stat as a subtree 2017-05-23 00:02:52 -06:00