MOA 12.03
Real Time Analytics for Data Streams
|
Helpful static functions. More...
Static Public Member Functions | |
static double | gammaHalf (int n) |
Calculates gamma(n/2) (special case!) for small n. | |
static double | distanceProbabilty (double threshold, int dimension) |
Calcuates the probabilty that a point sampled from a gaussian kernel has a Malahanobis-distance greater than the given threshold. | |
static double | gompertzWeight (double average, double count) |
Static Public Attributes | |
static final int | GAMMA_ITERATIONS = 100 |
Number of iterations used to calculate the incomplete gamma function, see AuxiliaryFunctions . |
Helpful static functions.
Definition at line 32 of file clustream/AuxiliaryFunctions.java.
static double moa.clusterers.clustream.AuxiliaryFunctions.distanceProbabilty | ( | double | threshold, |
int | dimension | ||
) | [static] |
Calcuates the probabilty that a point sampled from a gaussian kernel has a Malahanobis-distance greater than the given threshold.
threshold | a threshold for the distance |
dimension | the number of dimensions of the kernel |
Definition at line 124 of file clustream/AuxiliaryFunctions.java.
static double moa.clusterers.clustream.AuxiliaryFunctions.gammaHalf | ( | int | n | ) | [static] |
Calculates gamma(n/2) (special case!) for small n.
n |
Definition at line 84 of file clustream/AuxiliaryFunctions.java.
Referenced by moa.clusterers.clustream.AuxiliaryFunctions.distanceProbabilty().
static double moa.clusterers.clustream.AuxiliaryFunctions.gompertzWeight | ( | double | average, |
double | count | ||
) | [static] |
Definition at line 135 of file clustream/AuxiliaryFunctions.java.
final int moa.clusterers.clustream.AuxiliaryFunctions.GAMMA_ITERATIONS = 100 [static] |
Number of iterations used to calculate the incomplete gamma function, see AuxiliaryFunctions
.
XXX: A good precision value is said to be 100 iterations, but this results in double overflows.
Definition at line 39 of file clustream/AuxiliaryFunctions.java.