MAPDN icon indicating copy to clipboard operation
MAPDN copied to clipboard

Question about random seeds

Open zly987 opened this issue 2 years ago • 2 comments

In your article ”During training, we randomly sample the initial state for an episode and each episode lasts for 240 time steps (i.e. a half day). Every experiment is run with 5 random seeds and the test results during training are given by the median and the 25%-75% quartile shading. Each test is conducted every 20 episodes with 10 random selected episodes for evaluation.“

''Every experiment is run with 5 random seeds'' ,but I didn't find it in the code. Can you tell me how to add random seeds? I have tried but it doesn't work.

zly987 avatar Apr 23 '22 11:04 zly987

Dear zly987,

At present, it will automatically generate a random seed when you initialize a training procedure. We will construct a function that can manually set up it in the updated version.

hsvgbkhgbv avatar Jul 28 '22 20:07 hsvgbkhgbv

OK, Please inform me if there is an updated version,thank you very much.

zly987 avatar Aug 20 '22 14:08 zly987

I have added random seed control and pushed the code.

hsvgbkhgbv avatar Oct 16 '22 10:10 hsvgbkhgbv

Thanks a million.

zly987 avatar Oct 16 '22 12:10 zly987