MOA 12.03
Real Time Analytics for Data Streams
moa.clusterers.clustream.AuxiliaryFunctions Class Reference

Helpful static functions. More...

List of all members.

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.

Detailed Description

Helpful static functions.

Author:
Fernando Sanchez Villaamil

Definition at line 32 of file clustream/AuxiliaryFunctions.java.


Member Function Documentation

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.

Parameters:
thresholda threshold for the distance
dimensionthe number of dimensions of the kernel
Returns:
the above probability

Definition at line 124 of file clustream/AuxiliaryFunctions.java.

Here is the call graph for this function:

static double moa.clusterers.clustream.AuxiliaryFunctions.gammaHalf ( int  n) [static]

Calculates gamma(n/2) (special case!) for small n.

Parameters:
n
Returns:
gamma(n/2)

Definition at line 84 of file clustream/AuxiliaryFunctions.java.

Referenced by moa.clusterers.clustream.AuxiliaryFunctions.distanceProbabilty().

Here is the caller graph for this function:

static double moa.clusterers.clustream.AuxiliaryFunctions.gompertzWeight ( double  average,
double  count 
) [static]

Definition at line 135 of file clustream/AuxiliaryFunctions.java.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations