Skip to content

kameelsky/doe-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design of Experiments and empirical models

This python package has been developed to analyze experimental data obtained within the framework of 'Designs of Experiments'.

Package can help with an analysis of screening experiemnts conducted with utilization of a commonly used design factorial 2k.

Dependencies and installation

The application has a few which can be installed with python pip module:

python -V # Checks for python version. Python 3.12
git clone https://github.com/kameelsky/doe-models.git # Downloads the repository
python -m pip install -r doe-models/requirements.txt # Installs dependencies
python -m pip install doe-models/source # Installs doe-models

License

MIT License

Examples

# Import the libraries
from doemodels.factorial import Factorial2k

# Create an instance of Factorial2k class for four factors
design = Factorial2k(["A", "B", "C", "D"])

# Create a fractional factorial
design.fractional("ABCD")

# Get a dictionary of aliased factors
design.aliases

{'A': ['BCD'], 'B': ['ACD'], 'C': ['ABD'], 'D': ['ABC'], 'AB': ['CD'], 'AC': ['BD'], 'AD': ['BC'], 'BC': ['AD'], 'BD': ['AC'], 'CD': ['AB'], 'ABC': ['D'], 'ABD': ['C'], 'ACD': ['B'], 'BCD': ['A']}

# Provide the responses
design.effect(response=[45, 65, 60, 80, 100, 45, 75, 96], n=1, graph=True)

screen

# Plot a Pareto chart
design.pareto(graph=True)

pareto

More detailed analysis can be found in the jupyter notebook.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages