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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MahalanobisDistance

      public MahalanobisDistance​(List<List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>> X)
    • MahalanobisDistance

      public 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 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:
      buildComputation in interface 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>