Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pyDOE2 dependency to pyDOE3 #471

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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