public class GridSearchConfiguration
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Utility/hack to perform in-place (statically configured) parameter configuration for grid-search optimization. NOT INTENDED FOR PROD, BUT WHEN EXPLORING SCENARIOS.
Parameters are dynamically loaded, and have to be named "o1", "o2", ...
(order is not relevant). They must have the following format:
o{1 ...}: paramName{space}paramType{space}value1{space}value2...
Examples:
o1: test1 boolo2: test2 int 1 3 5o2: test3 string a b asdfStaticConfiguration#COMBINAISON_INDEX| Modifier and Type | Field and Description |
|---|---|
static String |
COMBINAISON_INDEX |
| Constructor and Description |
|---|
GridSearchConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(org.apache.uima.UimaContext ctx) |
void |
process(org.apache.uima.jcas.JCas aJCas) |
getRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic static final String COMBINAISON_INDEX
public void initialize(org.apache.uima.UimaContext ctx)
throws org.apache.uima.resource.ResourceInitializationException
initialize in interface org.apache.uima.analysis_component.AnalysisComponentinitialize in class org.apache.uima.fit.component.JCasAnnotator_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionpublic void process(org.apache.uima.jcas.JCas aJCas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionCopyright © 2015 Bluebrain Project. All rights reserved.