Package dk.alexandra.fresco.stat.outlier
Class MahalanobisDistance
java.lang.Object
dk.alexandra.fresco.stat.outlier.MahalanobisDistance
- All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
public class MahalanobisDistance extends Object implements dk.alexandra.fresco.framework.builder.Computation<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Compute the Mahalanobis Distance
of all samples in a data set. This may be used to detect outliers in the data set which may be
filtered out obliviously (see
FilteredStatistics before using
the data set for analysis.-
Constructor Summary
Constructors Constructor Description MahalanobisDistance(List<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>> X)MahalanobisDistance(List<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>> X, List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>> mean) -
Method Summary
Modifier and Type Method Description dk.alexandra.fresco.framework.DRes<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>>buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)
-
Constructor Details
-
Method Details
-
buildComputation
public dk.alexandra.fresco.framework.DRes<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>> buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)- Specified by:
buildComputationin interfacedk.alexandra.fresco.framework.builder.Computation<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
-