Commit Graph

31 Commits

Author SHA1 Message Date
Dan Kortschak
5f0141ca4c all: run gofmt and generate all packages
Changes made in dsp/fourier/internal/fftpack break the formatting used
there, so these are reverted. There will be complaints in CI.

[git-generate]
gofmt -w .
go generate gonum.org/v1/gonum/blas
go generate gonum.org/v1/gonum/blas/gonum
go generate gonum.org/v1/gonum/unit
go generate gonum.org/v1/gonum/unit/constant
go generate gonum.org/v1/gonum/graph/formats/dot
go generate gonum.org/v1/gonum/graph/formats/rdf
go generate gonum.org/v1/gonum/stat/card

git checkout -- dsp/fourier/internal/fftpack
2022-08-06 07:05:17 +09:30
Dan Kortschak
d8ad7756b6 all: fix spelling and typos 2022-03-14 21:32:06 +10:30
Dan Kortschak
571f6ffe3c stat: explicitly panic when calling CDF with empty x 2021-05-21 18:19:16 +09:30
Dan Kortschak
87c72c1b85 stat: explicitly panic when calling Quantile with empty x 2021-05-21 18:19:16 +09:30
Roman Werpachowski
aeb04daafe stat: add population (biased) variants of Variance, StdDev, MeanVariance and MeanStdDev (#1570)
* Add population (biased) variants of Variance, StdDev, MeanVariance and
MeanStdDev.
* Add my employer as copyright owner.
2021-02-21 11:04:30 +01:00
Dan Kortschak
4340aa3071 stat: fix spelling and punctuation in stat.go
* misspelling
* full stops
* capitalisation
* TODO ownership
* naked returns
2019-07-10 15:02:02 +09:30
Vincent Thiery
acd85591b9 stat: add support for LinInterp CumulantKind for Quantile 2018-10-27 20:27:10 +10:30
Vincent Thiery
36761eab7a stat: add comment for calculating variance in cases with low weight sum 2018-10-07 08:13:19 +10:30
Brendan Tracey
73ea1e7329 stat: optimize LinearRegression code, providing speedups of 40% (#563)
* stat: optimize LinearRegression code, providing speedups of 40%

Benchmarks
BenchmarkLinearRegression/n10000wfof-8 70687 42916 -39.29%
BenchmarkLinearRegression/n10000wfof-8 66305 40844 -38.40%
BenchmarkLinearRegression/n10000wfof-8 66262 40922 -38.24%
BenchmarkLinearRegression/n10000wfof-8 65864 42854 -34.94%
BenchmarkLinearRegression/n10000wfof-8 65366 40753 -37.65%
2018-08-02 16:18:28 -04:00
Sebastien Binet
14efad756b stat: refactor Quantile to prepare for more CumulantKinds
This CL exposes some hidden documentation about stat.CumulantKinds and
refactor the current empirical Quantile into its own function.
2018-06-07 12:03:43 +02:00
Dan Kortschak
5bdd2ff971 stat: fix panic message 2018-06-07 15:48:19 +09:30
Max Halford
afe00782c1 Tidy Kendall correlation code 2017-12-15 10:02:28 +10:30
Max Halford
6dd067537a Edit comment of KendallCorrelation 2017-12-15 10:02:28 +10:30
Max Halford
4ecd1f23e5 Add weighting to KendallCorrelation 2017-12-15 10:02:28 +10:30
Max Halford
69e1c0e06e Add Kendall correlation 2017-12-15 10:02:28 +10:30
kortschak
81f1289e48 all: run Go tip gofmt -s 2017-11-16 17:54:36 +10:30
kortschak
805531d142 all: change capitalization of gonum in license header 2017-11-02 06:54:08 +10:30
Brendan Tracey
3a687b33d4 stat: Improve documentation and test for Moment (#248) 2017-09-29 22:27:21 -06:00
Brendan Tracey
1f58387cb6 stat: add BivariateMoment (#244)
* stat: add MixedMoment and fix bug in Moment code

* Revert unrelated changes, rename to BivariateMoment

* last fix
2017-09-29 07:03:31 -06:00
mewmew
7e53ef2fae all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go

Keep original comment style (e.g. line comments and block comments).

Fix doc comments containing multiple line comments.

Remove vanity imports from all files except doc.go.

Fixes #12.

The source code of fixdocs is located at:
https://play.golang.org/p/7RtYLzldsO
2017-08-16 14:26:00 +02:00
mewmew
ac48587c92 Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit b2982a3e50.
2017-08-16 14:21:05 +02:00
mewmew
b2982a3e50 all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go

Keep original comment style (e.g. line comments and block comments).

Fix doc comments containing multiple line comments.
2017-08-16 14:07:36 +02:00
mewmew
5b4711aa15 Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit b0a98102dc.
2017-08-16 14:07:17 +02:00
mewmew
b0a98102dc all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go

Keep original comment style (e.g. line comments and block comments).
2017-08-16 14:02:26 +02:00
mewmew
7eaea7c428 Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit 00292b2d57.
2017-08-16 14:01:36 +02:00
mewmew
00292b2d57 all: use fixdocs tool to store package documentation in doc.go
Add copyright header to doc.go
2017-08-16 13:56:50 +02:00
mewmew
a37fef5a6d Revert "all: use fixdocs tool to store package documentation in doc.go"
This reverts commit 963877e5f5.
2017-08-16 13:54:16 +02:00
mewmew
963877e5f5 all: use fixdocs tool to store package documentation in doc.go 2017-08-16 13:19:00 +02:00
kortschak
37850ca814 all: add canonical imports 2017-05-25 16:07:18 +09:30
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