Open MLopez-Ibanez opened 3 months ago
Hey, thanks for the information. I assume you are uploading to CRAN and we have 2 weeks to upload bbotk with the changes? If there are any more changes please let me know.
It will still take some time to reach CRAN. Probably not before June. Other changes that may be relevant to you:
Requires R version >= 3.6.0.
Logfiles *.Rdata
use format version 3, which can only be read by R version >= 3.5.
The scenario options forbiddenFile
and forbiddenExps
have been removed
and will give an error if present. Forbidden configurations are now
specified in the parameter space description. See the example in
readParameters()
.
The scenario option digits
has been removed and will give an error if
present. The number of digits
for real-valued parameters is now specified
in the parameter space description. See the example in readParameters()
.
The scenario
object now includes the parameters
object. Thus
functions such as irace()
, which previously took as arguments both
scenario
and parameters
, now only take scenario
. This also means that
the log file irace.Rdata
does not contain a separate parameters
element
since this element can now be found within scenario
.
irace warns about using '&&'
and '||'
instead of '&'
and '|'
in
parameter conditions and forbidden expressions. A future version of irace
will reject those uses as errors.
The column "instance"
of the instancesList
data frame stored in the
logFile has been renamed to "instanceID"
. This data frame should not be
accessed directly. Instead use the new function
get_instanceID_seed_pairs()
.
irace is now more strict in enforcing runtime bounds given with scenario$boundMax
and will stop with an error if the target-runner
reports a runtime larger than the given bound.
All functions that contained a period ('.'
) in the name have been renamed to use '_'
instead.
Hi,
The next version of irace: https://github.com/MLopez-Ibanez/irace/tree/v4 will have some breaking changes: https://mlopez-ibanez.github.io/irace/news/index.html
The list is not complete yet but among them, there is the call to
irace()
here:https://github.com/mlr-org/bbotk/blob/70f3f96ff0023066aa8eaa7c97484f0d6e518663/R/OptimizerIrace.R#L182-L185
that should be replaced by:
Also, a few lines below, instead of
load()
you can useiraceResults =
read_logfile()
introduced in irace 3.5