GithubHelp home page GithubHelp logo

happypydog / pci_dynamic_process Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 76.03 MB

This project is my thesis about computing a more accurate process capability index under dynamic process with mean shift and variance change.

License: MIT License

Python 100.00%
pci control-chart dyanmic-process mean-shift variance-change cpk

pci_dynamic_process's Introduction

Dynamic Process with Mean Shift and Variance Change

Dynamic Model

Here is an example for computing detection power:

from dypro.dynamic import NormalMeanRChart

k1 = 1.2
k2 = 1.4
n = 5
chart = NormalMeanRChart(alpha=0.0027)
print(f"Detection Power = {chart.power(k1=k1, k2=k2, n=n):.4f}")

Create k2 table

from dypro.dynamic import NormalMeanVarChart, BrenthOptimizer
from dypro.create_csv import create_k2

chart = NormalMeanVarChart(alpha=0.0027)
optimizer = BrenthOptimizer(chart, power=0.5)
df = create_k2(
    optimizer=optimizer,
    k1_max=3,
    k1_num=0.1,
    n_max=30,
)
df.to_csv("xv_k2.csv", index=False, float_format="%g")

pci_dynamic_process's People

Contributors

happydoger avatar happypydog avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.