clicumu / doepipeline

A python package for optimizing processing pipelines using statistical design of experiments (DoE).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyDOE issue

danisven opened this issue · comments

I run into the following error. I'm using the same version of pyDOE as before

Traceback (most recent call last):
  File "/media/data/daniel/doe_2018/doepipeline/bin/doepipeline", line 76, in <module>
    designer = generator.new_designer_from_config()
  File "/media/data/db/data/anaconda2/envs/doepipeline/lib/python3.6/site-packages/doepipeline-0.1-py3.6.egg/doepipeline/generator.py", line 77, in new_designer_from_config
    return designer_class(factors, design_type, responses, *args, **kwargs)
  File "/media/data/db/data/anaconda2/envs/doepipeline/lib/python3.6/site-packages/doepipeline-0.1-py3.6.egg/doepipeline/designer.py", line 179, in __init__
    self._design_matrix = matrix_designer(n)
  File "/media/data/db/data/anaconda2/envs/doepipeline/lib/python3.6/site-packages/doepipeline-0.1-py3.6.egg/doepipeline/designer.py", line 167, in <lambda>
    'ccf': lambda n: pyDOE.ccdesign(n, (0, 1), face='ccf'),
  File "/media/data/db/data/anaconda2/envs/doepipeline/lib/python3.6/site-packages/pyDOE/doe_composite.py", line 147, in ccdesign
    H1 = ff2n(n)
  File "/media/data/db/data/anaconda2/envs/doepipeline/lib/python3.6/site-packages/pyDOE/doe_factorial.py", line 115, in ff2n
    return 2*fullfact([2]*n) - 1
  File "/media/data/db/data/anaconda2/envs/doepipeline/lib/python3.6/site-packages/pyDOE/doe_factorial.py", line 78, in fullfact
    rng = lvl*range_repeat
TypeError: 'numpy.float64' object cannot be interpreted as an integer

You have updated numpy. There has been an unfixed deprecation warning from pyDOE for a long time. That package isn't really maintained anymore, but we can release a fork of it where we fix the issue.