Giter Club home page Giter Club logo

pydoe2's Introduction

pyDOE2: An experimental design package for python

pyDOE2 is a fork of the pyDOE package that is designed to help the scientist, engineer, statistician, etc., to construct appropriate experimental designs.

This fork came to life to solve bugs and issues that remained unsolved in the original package.

Capabilities

The package currently includes functions for creating designs for any number of factors:

  • Factorial Designs
    • General Full-Factorial (fullfact)
    • 2-level Full-Factorial (ff2n)
    • 2-level Fractional Factorial (fracfact)
    • Plackett-Burman (pbdesign)
    • Generalized Subset Designs (gsd)
  • Response-Surface Designs
    • Box-Behnken (bbdesign)
    • Central-Composite (ccdesign)
  • Randomized Designs
    • Latin-Hypercube (lhs)

See the original pyDOE homepage for details on usage and other notes.

What's new?

Generalized Subset Designs

In pyDOE2 version 1.1 the Generalized Subset Design (GSD) is introduced. GSD is a generalization of traditional fractional factorial designs to problems where factors can have more than two levels.

In many application problems factors can have categorical or quantitative factors on more than two levels. Previous reduced designs have not been able to deal with such types of problems. Full multi-level factorial designs can handle such problems but are however not economical regarding the number of experiments.

The GSD provide balanced designs in multi-level experiments with the number of experiments reduced by a user-specified reduction factor. Complementary reduced designs are also provided analogous to fold-over in traditional fractional factorial designs.

GSD is available in pyDOE2 as:

import pyDOE2

levels = [2, 3, 4]  # Three factors with 2, 3 or 4 levels respectively.
reduction = 3       # Reduce the number of experiment to approximately a third.

pyDOE2.gsd(levels, reduction)

Requirements

  • NumPy
  • SciPy

Installation and download

Through pip:

pip install pyDOE2

Credits

pyDOE original code was originally converted from code by the following individuals for use with Scilab:

  • Copyright (C) 2012 - 2013 - Michael Baudin

  • Copyright (C) 2012 - Maria Christopoulou

  • Copyright (C) 2010 - 2011 - INRIA - Michael Baudin

  • Copyright (C) 2009 - Yann Collette

  • Copyright (C) 2009 - CEA - Jean-Marc Martinez

  • Website: forge.scilab.org/index.php/p/scidoe/sourcetree/master/macros

pyDOE was converted to Python by the following individual:

  • Copyright (c) 2014, Abraham D. Lee

The following individuals forked and works on pyDOE2:

  • Copyright (C) 2018 - Rickard Sjögren and Daniel Svensson

License

This package is provided under two licenses:

  1. The BSD License (3-clause)
  2. Any other that the author approves (just ask!)

References

pydoe2's People

Contributors

tisimst avatar rickardsjogren avatar dreavjr avatar dipsav avatar jschueller avatar joergdietrich avatar beckermr avatar toddrme2178 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.