public class PipelineEvaluationCache
extends java.lang.Object
| Constructor and Description |
|---|
PipelineEvaluationCache(PipelineEvaluationCacheConfigBuilder configBuilder)
Construct a new cache for evaluations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureValidation(java.lang.String valSplitTechnique,
java.lang.String valEvaluationTechnique,
int valSeed) |
double |
getResultOrExecuteEvaluation(ai.libs.hasco.model.ComponentInstance cI)
Get an evaluation results for the given pipeline represented by the component
instance in the setting this cache is configured.
|
void |
setUseCache(boolean useCache) |
boolean |
usesCache() |
public PipelineEvaluationCache(PipelineEvaluationCacheConfigBuilder configBuilder) throws java.lang.Exception
ConsistentMLPipelineEvaluator. The
dataset origin can be looked up in DatasetOrigin.configBuilder - java.lang.NumberFormatExceptionjava.lang.Exception - If the dataset cannot be loadedpublic double getResultOrExecuteEvaluation(ai.libs.hasco.model.ComponentInstance cI)
throws java.lang.Exception
cI - java.lang.Exception - If the pipeline cannot be evaluatedpublic void configureValidation(java.lang.String valSplitTechnique,
java.lang.String valEvaluationTechnique,
int valSeed)
public boolean usesCache()
public void setUseCache(boolean useCache)