Closed ndangtt closed 5 years ago
Hi, sorry for the late reply. I have a feeling that this might be caused by a "too new" SMAC version. PyImp currently is a bit lacking behind SMAC and might not be fully compatible.
Thanks for your reply!
Looking at the history of that file in SMAC, it was added on Nov 16, 2018.
So I made a "fresh" installation of pimp by removing everything currently installed, and do pip install pyimp
, and get that same error when running the example.
It seems to me that this might be a bug in the current SMAC code. I'll post an issue there.
Firstly, my apology if this is a false alarm. I have some issues running the examples, and the following is my guess when looking at the code. However, it could be that I did something incorrectly! :)
I tried the following command in
examples/spear_qcp
pimp -S smac3-output_2017-04-03_17:13:13/scenario.txt -H smac3-output_2017-04-03_17:13:13/runhistory.json -M forward-selection
And I get the following output:
It seems to me that there's an issue with the function
predict_marginalized_over_instances
in SMAC3's code. More specifically these lines:As X contains only algorithm parameters, while self.types contains both algorithm parameters and instance features. When I disable this if, it seems to run fine.
Could you please help to check it?
Thank you very much! Nguyen