Free cookie consent management tool by TermsFeed Policy Generator

Changes between Version 1 and Version 2 of Ticket #2082, comment 32


Ignore:
Timestamp:
06/20/14 15:43:36 (10 years ago)
Author:
mkommend
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2082, comment 32

    v1 v2  
    22 * I tested the functionality with MATLAB using a CMAES for the tuning of parameters for a Gaussian process using the GPML package. The integration works nicely and the performance seems to be good!
    33 * The major drawback, that HL algorithms does not support problem specific initialization operators, is very problematic here and caused some confusions
    4    * the initialization script has to be set in the evaluator while it should be a parameter of the problem.
    5    * MATLAB is started when the algorithm is prepared (reset button)
    6    * The script is executed only once together when MATLAB is started. I had a bug in the script leading to an exception in the evaluation script. After I fixed the bug in the initialization script the same exception was thrown because the initialization script was not re-run after I changed it (even when resetting the algorithm).
     4   * ~~the initialization script has to be set in the evaluator while it should be a parameter of the problem.~~
     5   * ~~MATLAB is started when the algorithm is prepared (reset button)~~
     6   * ~~The script is executed only once together when MATLAB is started.~~ I had a bug in the script leading to an exception in the evaluation script. After I fixed the bug in the initialization script the same exception was thrown because the initialization script was not re-run after I changed it (even when resetting the algorithm).
    77   * Would it be possible to just check if MATLAB is running whenever the evaluator is applied and initializing it when necessary? I think this would be better than initializing it in the InitializeState() method. The MATLAB instance should be disposed (not only cleared) at the end of a run (do we clear IStatefulItems at the end of the run?)
     8  > Yes it would be possible. However, it takes quite some time for the MATLAB instance to be started and therefore I decided to just clear the variables.
    89 * I think it would be more convenient to have the full parameter vector available in MATLAB instead of each element individually (only set parameter name in problem instead of the name for each element).
    910 * At one point I had an error that forced me to close the problem view because each time I pressed prepare I got an exception dialog. Maybe it would be better to dispose the MATLAB instance on reset and instantiating a new one whenever the problem should be initialized.