Class ExampleDataSets

java.lang.Object
com.amazon.randomcutforest.testutils.ExampleDataSets

public class ExampleDataSets extends Object
This class samples point from a mixture of 2 multi-variate normal distribution with covariance matrices of the form sigma * I. One of the normal distributions is considered the base distribution, the second is considered the anomaly distribution, and there are random transitions between the two.
  • Constructor Details

    • ExampleDataSets

      public ExampleDataSets()
  • Method Details

    • generateFan

      public static double[][] generateFan(int numberPerBlade, int numberOfBlades)
    • rotateClockWise

      public static double[] rotateClockWise(double[] point, double theta)
    • generate

      public static double[][] generate(int size)