类 KStarCache
java.lang.Object
weka.classifiers.lazy.kstar.KStarCache
- 所有已实现的接口:
Serializable
,RevisionHandler
A class representing the caching system used to keep track of each attribute
value and its corresponding scale factor or stop parameter.
- 版本:
- $Revision: 1.11 $
- 作者:
- Len Trigg (len@reeltwo.com), Abdelaziz Mahoui (am14@cs.waikato.ac.nz)
- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明class
A custom hashtable class to support the caching system.class
Hashtable collision list. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
containsKey
(double key) Checks if the specified key maps with an entry in the cache tablegetCacheValues
(double key) Returns the values in the cache mapped by the specified keyReturns the revision string.void
store
(double key, double value, double pmiss) 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.- 参数:
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- 参数:
key
- the key to map with an entry in the hashtable.
-
getCacheValues
Returns the values in the cache mapped by the specified key- 参数:
key
- the key used to retrieve the table entry.
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-