csw93-0.6.0


توضیحات

Regular Fractional Factorial two-level designs from the paper of Chen, Sun and Wu (1993)
ویژگی مقدار
سیستم عامل -
نام فایل csw93-0.6.0
نام csw93
نسخه کتابخانه 0.6.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Alexandre Bohyn
ایمیل نویسنده alexandre.bohyn@kuleuven.be
آدرس صفحه اصلی https://abohyndoe.github.io/csw93/
آدرس اینترنتی https://pypi.org/project/csw93/
مجوز MIT
# csw93 - Chen, Sun and Wu (1993) [![PyPI](https://img.shields.io/pypi/v/csw93)](https://pypi.org/project/csw93/) [![Documentation Status](https://readthedocs.org/projects/csw93/badge/?version=latest)](https://csw93.readthedocs.io/en/latest/?badge=latest) ![Build Status](https://github.com/ABohynDOE/csw93/actions/workflows/python-app.yml/badge.svg) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) CSW93 is a Python package that makes availalble the design matrices of all regular fractional factorial two-level designs from the 1993 paper of Chen, Sun and Wu: ["A catalogue of two-level and three-level fractional factorial designs with small runs"][1]. For more information about the package and its functions, see the [documentation](https://csw93.readthedocs.io/en/latest/). [1]: <https://www.jstor.org/stable/1403599> ## Installation Use the package manager [pip](https://pip.pypa.io/en/stable/) to install csw93. ```bash pip install csw93 ``` ## Usage The pakage provides three functions to get - The design matrix, - The word length pattern, - The number of clear two-factor interactions, using only the number of runs and the index of the design. This index corresponds to the first column in all tables of all tables from the paper. ```python import csw93 # Design matrix of the 16-run design with index 8-4.1 csw93.get_design(16, "8-4.1") # Word length pattern of the 32-run design with index 15-10.2 csw93.get_wlp(32, "8-4.1") # Number of clear two-factor interactions for the 64-run design 11-5.10 csw93.get_cfi(64, "11-5.10") ``` ## Contributing ### Code style Try to follow the [PEP 8](https://www.python.org/dev/peps/pep-0008/) style guide. A useful tool for automated formatting is [black](https://black.readthedocs.io/en/stable/index.html). ### Submitting code If you would like to contribute, please submit a pull request. See the [Github Hello World](https://guides.github.com/activities/hello-world/) example, if you are new to Github. For major changes, please open an issue first to discuss what you would like to change. By contributing to the repository you state you own the copyright to those contributions and agree to include your contributions as part of this project under the MIT license. ### Testing If you contribute, please make sure to update the tests aproprietly. Continuous integration is performed on [Travis-CI](https://app.travis-ci.com/github/ABohynDOE/csw93). To perform tests run [`pytest`](https://docs.pytest.org/en/latest/). To obtain a [coverage](https://coverage.readthedocs.io) report in html, run ```bash coverage run -m pytest . coverage html ``` ### Contact For further information please contact Alexandre Bohyn, alexandre.bohyn at kuleuven.be ## License [MIT](https://choosealicense.com/licenses/mit/) ## Roadmap List of the changes that will be implemented later on: - Write detailled documentation for readthedocs ## Changelog - 0.6 : Addition of `word2num` and `num2word` functions - 0.5 : Remove unused function from docs - 0.4: fix wrong column numbers and added Xu 2009 to the database (not available as function yet) - 0.3: Integration to readthedocs.io - 0.2: Correct WLP - 0.1: initial version


نیازمندی

مقدار نام
>=1.22.2,<2.0.0 numpy
>=1.4.0,<2.0.0 pandas
>=0.19.1,<0.20.0 graphviz


زبان مورد نیاز

مقدار نام
>=3.8,<4.0 Python


نحوه نصب


نصب پکیج whl csw93-0.6.0:

    pip install csw93-0.6.0.whl


نصب پکیج tar.gz csw93-0.6.0:

    pip install csw93-0.6.0.tar.gz