public class PerformanceCache extends Object implements Serializable
| Constructor and Description |
|---|
PerformanceCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int cv,
Performance p)
adds the performance to the cache.
|
Performance |
get(int cv,
Point<Object> values)
returns a cached performance object, null if not yet in the cache.
|
boolean |
isCached(int cv,
Point<Object> values)
checks whether the point was already calculated once.
|
String |
toString()
returns a string representation of the cache.
|
public boolean isCached(int cv,
Point<Object> values)
cv - the number of folds in the cross-validationvalues - the point in the spacepublic Performance get(int cv, Point<Object> values)
cv - the number of folds in the cross-validationvalues - the point in the spacepublic void add(int cv,
Performance p)
cv - the number of folds in the cross-validationp - the performance object to storeCopyright © 2017 University of Waikato, Hamilton, NZ. All Rights Reserved.