All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.classifiers.kstar.KStarCache
java.lang.Object
|
+----weka.classifiers.kstar.KStarCache
- public class KStarCache
- extends Object
A class representing the caching system used to keep track of each attribute
value and its corresponding scale factor or stop parameter.
- Author:
- Len Trigg (len@intelligenesis.net), Abdelaziz Mahoui (am14@cs.waikato.ac.nz)
-
KStarCache()
-
-
containsKey(double)
- Checks if the specified key maps with an entry in the cache table
-
getCacheValues(double)
- Returns the values in the cache mapped by the specified key
-
store(double, double, double)
- Stores the specified values in the cahce table for easy retrieval.
KStarCache
public KStarCache()
store
public void store(double key,
double value,
double pmiss)
- Stores the specified values in the cahce table for easy retrieval.
- Parameters:
- key - attribute value used key to lookup the cache table.
- value - cache parameter: attribute scale/stop parameter.
- pmiss - cache parameter: transformation probability to
attribute with missing value.
containsKey
public boolean containsKey(double key)
- Checks if the specified key maps with an entry in the cache table
- Parameters:
- key - the key to map with an entry in the hashtable.
getCacheValues
public KStarCache. TableEntry getCacheValues(double key)
- Returns the values in the cache mapped by the specified key
- Parameters:
- key - the key used to retrieve the table entry.
All Packages Class Hierarchy This Package Previous Next Index WEKA's home