lhs() got an unexpected keyword argument 'seed'
时间: 2023-07-29 22:05:50 浏览: 46
The error message "lhs() got an unexpected keyword argument 'seed'" suggests that you are passing an unsupported argument 'seed' to the function lhs(). The function lhs() is usually a part of the pyDOE package, which is used for the design of experiments.
One possibility is that you are using an outdated version of the pyDOE package. Earlier versions of pyDOE included a seed parameter in the lhs() function, but this parameter has been removed in the latest version.
To resolve this error, you can try updating the pyDOE package to the latest version using the following command:
```
pip install --upgrade pyDOE
```
If you still encounter the error, check the documentation for the version of pyDOE you are using to see if the lhs() function supports the 'seed' parameter. If not, remove the 'seed' parameter from the function call.