SMAC3 icon indicating copy to clipboard operation
SMAC3 copied to clipboard

`question` Replicate behavior with seed

Open vmanriq opened this issue 4 years ago • 4 comments

Description

I am trying to replicate the run with the same seed, but SMAC gives me a different result with the same seeds

Steps/Code to Reproduce

Run muliples time smac with the command python3 scripts/smac --scenario scenario.txt --seed 3

Expected Results

The same output in multiples runs

Actual Results

Diferent parameters values using the same initial seed

Versions

1.0.1

vmanriq avatar Sep 06 '21 13:09 vmanriq

hi, how is the function that you want to optimize looks like? If the function cannot output fixed value with fixed seed, then it is very likely that SMAC will generate different incumbent values

dengdifan avatar Sep 07 '21 12:09 dengdifan

The function i want to optimize can recibe a seed to get same value every time ! The parameters of the alghoritm is the seed, one parameter to optimize and the instance

vmanriq avatar Sep 07 '21 13:09 vmanriq

Sorry for the late reply, this is truely a bug when working with multi-instances problems, intensifier will not suggest the same configuration when doing intensification, we will figure this out and hopefully fix that in the next release

dengdifan avatar Sep 10 '21 12:09 dengdifan

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 17 '22 21:06 stale[bot]

Hi, I have been looking into your problem -- in the new release, there won't be a cmd interface anymore. But multiple instances with seeds are deterministic now.

Should you unexpectedly face the issue after the release please let us know.

timruhkopf avatar Feb 13 '23 14:02 timruhkopf