-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ForbiddenAndConjunction-related issue #394
Comments
Hi @ixeixe, This is likely an oversight on my part. We did some optimization work to ensure that we minimize the amount of forbiddens that need to be checked and my guess is that this is what causes the behaviour. I will try to look at it in the coming week but unfortunatly I am at an event and may not get time until the following week. For reference, this is what is actually used during forbidden checks:
You could print these out to see where the inconsisteny lies which would help in finding out the logical error I made. For reference, this is the logic that takes a list of forbiddens and returns an optimized list of forbiddens. ConfigSpace/src/ConfigSpace/_condition_tree.py Lines 821 to 876 in d5b82ae
|
Thank you for taking the time out of your busy schedule to get back to me, you mentioned that I can print
In line 2, the Forbidden I want to be effective is: |
No worries, the code is hard to make understandable and it's really just an efficiency thing done under the hood. The extra info you gave will be super helpful! I will take a look at this next week once I am back! Apologies for the inconvenience |
Hello ConfigSpace package developers.
I'm having a problem with ForbiddenInClause and ForbiddenAndConjunction.
Here is an example:
The output is:
The result of sample space.sample_configuration (1) is:
But this does not conform to the forbidden clause F2.
When lp2= 2, x should not be equal to 8, and y should not be equal to 8.
According to the Boolean calculation of your source code, the sampling configuration must trigger 4 clauses of F2 at the same time to achieve the effect I want, if only 3 clauses of F2 and less are triggered at the same time, it will also be successfully sampled, and the effect I want will not be achieved. Please how can I modify it to achieve 【When lp2=2, A and tmp cannot be in [1,8], and x cannot be in [1,8]】?
I look forward to your answers and thank you for your help!
The text was updated successfully, but these errors were encountered: