public class CacheVowelData
extends java.lang.Object
Constructor and Description |
---|
CacheVowelData() |
Modifier and Type | Method and Description |
---|---|
static void |
clearCacheValues()
Clears the cache values
|
static double |
getCumulativeValue(Example example,
int frameIndex,
int featureNumber)
get the cumulative value for a given feature from a given example
|
static void |
updateCache(Example example)
update the cache for the given example
|
public static double getCumulativeValue(Example example, int frameIndex, int featureNumber)
example
- the example to calculate the features forframeIndex
- get the cumulative value until this indexfeatureNumber
- the feature number to get the cumulative data forpublic static void updateCache(Example example)
example
- a given example to cachepublic static void clearCacheValues()