Class ExampleDataSets
java.lang.Object
com.amazon.randomcutforest.testutils.ExampleDataSets
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double[][]generate(int size) static double[][]generateFan(int numberPerBlade, int numberOfBlades) static double[]rotateClockWise(double[] point, double theta)
-
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)
-