Hi, I am using pyDOE for generating box Behnken and I got an error:
File "/root/anaconda3/lib/python3.6/site-packages/pyDOE/doe_repeat_center.py", line 43, in repeat_center
return np.zeros((repeat, n))
TypeError: 'float' object cannot be interpreted as an integer
I think the problem is in line 73 from the file pyDOE/doe_box_behnken:
nb_lines = (n(n-1)/2)H_fact.shape[0]
when I modify the above line to
nb_lines = int((n(n-1)/2)H_fact.shape[0])
it works well
Hi, I am using pyDOE for generating box Behnken and I got an error: File "/root/anaconda3/lib/python3.6/site-packages/pyDOE/doe_repeat_center.py", line 43, in repeat_center return np.zeros((repeat, n)) TypeError: 'float' object cannot be interpreted as an integer
I think the problem is in line 73 from the file pyDOE/doe_box_behnken: nb_lines = (n(n-1)/2)H_fact.shape[0]
when I modify the above line to nb_lines = int((n(n-1)/2)H_fact.shape[0]) it works well