tirthajyoti / design-of-experiment-python Goto Github PK
View Code? Open in Web Editor NEWDesign-of-experiment (DOE) generator for science, engineering, and statistics
License: MIT License
Design-of-experiment (DOE) generator for science, engineering, and statistics
License: MIT License
I was running Main.py using python 3.5 and received an syntax error from print command. Make sure to run the DoE code with python 3.6 because apparently the print syntax changed from 3.5 to 3.6.
I ran python Main.py
, typed 7
and my csv filename. Then I get:
TypeError: can't multiply sequence by non-int of type 'numpy.float64'
It is an issue of pyDOE. pyDOE has not been updated since April 2018, and it has not solved this problem.
Then I found that using pyDOE2
can solve this problem from this issue.
pyDOE2 is a fork of the pyDOE package.
So maybe you can install pyDOE2, and change pyDOE
to pyDOE2
in DOE_functions.py.
Hey,
i got problems using the box-wilson options, here is the error:
Pressure had more than two levels. Assigning the end point to the high level.
Temperature had more than two levels. Assigning the end point to the high level.
FlowRate had more than two levels. Assigning the end point to the high level.
Time had more than two levels. Assigning the end point to the high level.
Traceback (most recent call last):
File "C:\Users\j.rinne\Desktop\Promotion\Code + Libraries\Python Libraries\Design-of-experiment-Python-master\Design-of-experiment-Python-master\Main.py", line 41, in
execute_main()
File "C:\Users\j.rinne\Desktop\Promotion\Code + Libraries\Python Libraries\Design-of-experiment-Python-master\Design-of-experiment-Python-master\Main.py", line 17, in execute_main
df, filename = generate_DOE(doe_choice,infile)
File "C:\Users\j.rinne\Desktop\Promotion\Code + Libraries\Python Libraries\Design-of-experiment-Python-master\Design-of-experiment-Python-master\Generate_DOE.py", line 53, in generate_DOE
df=build_central_composite(dict_vars,face='ccf')
File "C:\Users\j.rinne\Desktop\Promotion\Code + Libraries\Python Libraries\Design-of-experiment-Python-master\Design-of-experiment-Python-master\DOE_functions.py", line 328, in build_central_composite
x = ccdesign(factor_count,center=center,alpha=alpha,face=face)
File "C:\Users\j.rinne\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyDOE\doe_composite.py", line 147, in ccdesign
H1 = ff2n(n)
File "C:\Users\j.rinne\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyDOE\doe_factorial.py", line 115, in ff2n
return 2*fullfact([2]n) - 1
File "C:\Users\j.rinne\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyDOE\doe_factorial.py", line 78, in fullfact
rng = lvlrange_repeat
TypeError: can't multiply sequence by non-int of type 'numpy.float64'
I use python 3.7, maybe thats the problem?
Hi,
I am very new in both programming and experimental design, also can't afford to buy minitab license. So i am really grateful for your contribution!
would you be so nice and provide CSV template sample for central composite?
Thank you in advance!
Hi,
I am very new in both programming and experimental design, also can't afford to buy minitab license. So i am really grateful for your contribution!
would you be so nice and provide CSV template sample for central composite?
Thank you in advance!
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.