-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bug in Resolutions used for Fractional Factorial Design #8
Comments
Hi, could you provide a simple code to reproduce the issue? By the way, I did not find anything about a |
Hello! Sorry I was looking at another method, I meant to write 'fracfact_by_res' method from pyDOE3 Sure! Let's consider an example from a manufacturing context with measurable factors. Here are six factors, each with two levels, expressed numerically and with units: Factors and Levels: |
I should have mentioned that I do not know the function From what you stated, I understand that Feel free to contribute with a PR as I think I will have no time to dig into this. |
I am wondering if this issue could be fixed by this pending PR in pyDOE2. |
I think that the reintegration of the bofire code on pyDoE3 (#11) would solve this issue. |
Did you test? Would you mind contributing with a PR? |
I encountered an issue with the add_design method in the doepandas package when specifying resolutions for fractional factorial designs with 6 factors. The method allows for the selection of a resolution that is not standard, resulting in an error.
Issue Details:
When attempting to create a design with resolution=VI for 6 factors, the method fails with a ValueError indicating "design not possible." But when setting resolution=V for 6 factors, the design given is with 32 runs. Although, resolution V does not typically exist for 6 factors in standard design tables.
Standard Resolutions:
For 6 factors, the standard resolutions are:
Resolution IV: 16 runs (1/4 fraction of the full factorial)
Resolution VI: 32 runs (1/2 fraction of the full factorial)
Expected Behavior:
The method should either generate a valid design for compatible resolutions or provide a descriptive error message indicating that the requested resolution is not valid for the given number of factors.
The text was updated successfully, but these errors were encountered: