relf / pydoe3 Goto Github PK
View Code? Open in Web Editor NEWDesign of experiments for Python
Home Page: https://pydoe3.readthedocs.io/en/stable
License: BSD 3-Clause "New" or "Revised" License
Design of experiments for Python
Home Page: https://pydoe3.readthedocs.io/en/stable
License: BSD 3-Clause "New" or "Revised" License
Error in CI tests
All done! ✨ 🍰 ✨
2 files would be reformatted, 11 files would be left unchanged.
would reformat /home/runner/work/pyDOE3/pyDOE3/pyDOE3/doe_box_behnken.py
would reformat /home/runner/work/pyDOE3/pyDOE3/pyDOE3/doe_gsd.py
This PR contains the refactoring and tests of fracfact
. It could be nice to re-integrate the relevant changes in pyDOE3.
Hello, I'm trying to use this package in a python 3.12 environment, but am getting the following error:
ModuleNotFoundError: No module named 'imp'
It looks like imp
was dropped in favor of importlib
in python 3.12. Are there any plans to offer 3.12 compatibility, or any other workarounds?
Thanks!
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.
Hi @relf,
first of all thank you for keeping pyDOE up-to-date! I have an issue with the function fracfact_opt
pyDOE3/pyDOE3/doe_factorial.py
Line 374 in 766e810
complaining about n_aliases
being a float instead of an int
pyDOE3/pyDOE3/doe_factorial.py
Line 421 in 766e810
and hashing the numpy arrays gives me an error here:
pyDOE3/pyDOE3/doe_factorial.py
Line 506 in 766e810
Not sure what the best solution for hashing is. Maybe just contrast.tobytes()
?
I use python 3.11.9 and numpy 1.26.4.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.