Skip to content

Basic Generation

HansvdLaan edited this page Apr 24, 2018 · 8 revisions

The generation of learning experiments consists of 3 steps.

First, you annotate the SUL, run the hermielab.processor.AnnotationsProcessor annotation processor which generate a file (Hermielabsettings.xml) containing an abstract model of your program and all information necessary to generate an experiment. More informations about the different annotations can be found in the Javadoc or in their respective wiki pages below.

Secondly, you run the hermielab.processor.BasicLearningSetupProcessor annotation processor which generates the learning setup itself.

Lastly, a manual tweak is often required to get the experiment to run sucessfully. In future versions, we hope to fully automatize this process. However, the moment, The SUL needs to be instantiated manually (which often can be achieved by instantiating a new instance of the class annotated with @start).

Clone this wiki locally