You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tiny Java utility to incrementally calculate Mean and Standard Deviation with a numerically stable algorithm. Contains a simple utility class to incrementally calculate moving average and moving standard deviation of a data series.
@@ -59,6 +60,31 @@ var = win.getVariance();
59
60
stdDev = win.getStdDev();
60
61
```
61
62
63
+
#### Maven
64
+
Add the following dependency to your maven pom.xml file:
65
+
66
+
```xml
67
+
<dependency>
68
+
<groupId>org.tools4j</groupId>
69
+
<artifactId>tools4j-meanvar</artifactId>
70
+
<version>1.1</version>
71
+
</dependency>
72
+
```
73
+
74
+
#### Gradle
75
+
Add the following entry to the dependencies section in your build.gradle file:
76
+
77
+
```gradle
78
+
dependencies {
79
+
compile 'org.tools4j:tools4j-meanvar:1.1'
80
+
}
81
+
```
82
+
83
+
#### Download
84
+
Sources and binaries can be downloaded from maven central:
85
+
*[tools4j-meanvar](http://search.maven.org/#search%7Cga%7C1%7Ctools4j-meanvar) in Maven Central
*[MeanVarianceSampler.java](https://github.com/tools4j/meanvar/blob/master/src/main/java/org/tools4j/meanvar/MeanVarianceSampler.java): Utility to add, remove or replace values in a running calculation of mean and variance
0 commit comments