Git Product home page Git Product logo

design-of-experiment-python's Issues

Invalid Syntax Error When Running Main.py

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.

pyDOE ccdesign error

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.

Errors using Box-Wilson design with the dataset you provided

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 = lvl
range_repeat
TypeError: can't multiply sequence by non-int of type 'numpy.float64'

I use python 3.7, maybe thats the problem?

CSV sample

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!

csv sample for central composite

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.