Package org.datavec.api.transform.ops
Class AggregatorImpls.AggregableStdDev<T extends Number>
- java.lang.Object
-
- org.datavec.api.transform.ops.AggregatorImpls.AggregableStdDev<T>
-
- All Implemented Interfaces:
Serializable
,IAggregableReduceOp<T,Writable>
,Consumer<T>
,Supplier<Writable>
- Direct Known Subclasses:
AggregatorImpls.AggregableUncorrectedStdDev
- Enclosing class:
- AggregatorImpls
public static class AggregatorImpls.AggregableStdDev<T extends Number> extends Object implements IAggregableReduceOp<T,Writable>
This class offers an aggregable reduce operation for the unbiased standard deviation, i.e. the estimator of the square root of the arithmetic mean of squared differences to the mean, corrected with Bessel's correction. See https://en.wikipedia.org/wiki/Unbiased_estimation_of_standard_deviation This is computed with Welford's method for increased numerical stability & aggregability.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AggregableStdDev()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(T n)
<U extends IAggregableReduceOp<T,Writable>>
voidcombine(U acc)
Writable
get()
-
-
-
Method Detail
-
combine
public <U extends IAggregableReduceOp<T,Writable>> void combine(U acc)
- Specified by:
combine
in interfaceIAggregableReduceOp<T extends Number,Writable>
-
-