Skip to content

Commit

Permalink
Update pyDOE2 dependency to pyDOE3 (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
relf authored Oct 26, 2023
1 parent dde86f5 commit 8744f0a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ To cite SMT legacy: M. A. Bouhlel and J. T. Hwang and N. Bartoli and R. Lafage a
```

# Required packages
SMT depends on the following modules: numpy, scipy, scikit-learn, pyDOE2 and Cython.
SMT depends on the following modules: numpy, scipy, scikit-learn, pyDOE3 and Cython.

# Installation
If you want to install the latest release
Expand Down
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Cython
numpy
scipy
scikit-learn
pyDOE2
pyDOE3
numpydoc
matplotlib
git+https://github.com/hwangjt/sphinx_auto_embed.git # for doc generation
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Cython
numpy
scipy
scikit-learn
pyDOE2
pyDOE3
numba # JIT compiler
matplotlib # used in examples and tests
pytest # tests runner
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
],
install_requires=[
"scikit-learn",
"pyDOE2",
"pyDOE3",
"scipy",
],
extras_require={
Expand Down
2 changes: 1 addition & 1 deletion smt/examples/multi_modal/run_genn_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.gridspec as gridspec
from pyDOE2 import fullfact
from pyDOE3 import fullfact

SEED = 101

Expand Down
4 changes: 2 additions & 2 deletions smt/sampling_methods/lhs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
This package is distributed under New BSD license.
LHS sampling; uses the pyDOE2 package.
LHS sampling; uses the pyDOE3 package.
"""
from pyDOE2 import lhs
from pyDOE3 import lhs
from scipy.spatial.distance import pdist, cdist
import numpy as np

Expand Down
2 changes: 1 addition & 1 deletion smt/utils/kriging.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import os
from sklearn.cross_decomposition import PLSRegression as pls

from pyDOE2 import bbdesign
from pyDOE3 import bbdesign
from sklearn.metrics.pairwise import check_pairwise_arrays
from smt.utils.design_space import BaseDesignSpace, CategoricalVariable

Expand Down

0 comments on commit 8744f0a

Please sign in to comment.