pyDOE
pyDOE copied to clipboard
pyDOE pbdesign not accepting large number of features
when I try n=60 I do get a return array but for 61 or 64 I get an error as if that isnt a 4-fold... while it works for n=17 :-)
How to get a PB design for large numbers of uncertainties (>48 .. 500)?
Erik
AssertionError Traceback (most recent call last)
~\AppData\Local\Programs\Python\Python37\lib\site-packages\pyDOE\doe_plackett_burman.py in pbdesign(n) 67 k = [idx for idx, val in enumerate(np.logical_and(f==0.5, e>0)) if val] 68 ---> 69 assert isinstance(n, int) and k!=[], 'Invalid inputs. n must be a multiple of 4.' 70 71 k = k[0]
AssertionError: Invalid inputs. n must be a multiple of 4.