Package ai.libs.hasco.knowledgebase
Interface IParameterImportanceEstimator
-
- All Known Implementing Classes:
FANOVAParameterImportanceEstimator
public interface IParameterImportanceEstimator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Double>computeImportanceForSingleComponent(Component component)Computes importance values for an individual componentjava.util.Set<java.lang.String>extractImportantParameters(ComponentInstance composition, boolean recompute)Extracts the parameters of a composition that reach the given threshold w.r.t. importanceintgetNumberPrunedParameters()Returns the number of parameters that have been prunedPerformanceKnowledgeBasegetPerformanceKnowledgeBase()Get the performance knowledge base used for parameter importance estimationjava.util.Set<java.lang.String>getPrunedParameters()booleanreadyToEstimateImportance(ComponentInstance composition)Checks whether the estimator is ready to estimate parameter importance for the compositionvoidsetPerformanceKnowledgeBase(PerformanceKnowledgeBase performanceKB)Set the performance knowledge base used for parameter importance estimation
-
-
-
Method Detail
-
extractImportantParameters
java.util.Set<java.lang.String> extractImportantParameters(ComponentInstance composition, boolean recompute) throws ExtractionOfImportantParametersFailedException
Extracts the parameters of a composition that reach the given threshold w.r.t. importance- Parameters:
composition-importanceThreshold-sizeOfLargestSubsetsToConsider-recompute-- Returns:
- Throws:
java.lang.ExceptionExtractionOfImportantParametersFailedException
-
computeImportanceForSingleComponent
java.util.Map<java.lang.String,java.lang.Double> computeImportanceForSingleComponent(Component component)
Computes importance values for an individual component- Parameters:
component-- Returns:
-
readyToEstimateImportance
boolean readyToEstimateImportance(ComponentInstance composition)
Checks whether the estimator is ready to estimate parameter importance for the composition- Parameters:
composition-- Returns:
- true if the estimator is ready, false otherwise
-
setPerformanceKnowledgeBase
void setPerformanceKnowledgeBase(PerformanceKnowledgeBase performanceKB)
Set the performance knowledge base used for parameter importance estimation- Parameters:
performanceKB-
-
getPerformanceKnowledgeBase
PerformanceKnowledgeBase getPerformanceKnowledgeBase()
Get the performance knowledge base used for parameter importance estimation
-
getNumberPrunedParameters
int getNumberPrunedParameters()
Returns the number of parameters that have been pruned- Returns:
- number of pruned parameters
-
getPrunedParameters
java.util.Set<java.lang.String> getPrunedParameters()
-
-