01 · Design of experiments

Change the factors together, not one at a time.

One-factor-at-a-time testing feels safe and misses the thing that matters most in real processes: factors that work through each other. A designed experiment spreads a small number of runs across the whole region, so effects, interactions and curvature come out of the same data.

Factor and levelWhat you set, and where.

A factor is a setting you control. Each factor runs at a few chosen levels, usually low and high.

InteractionOne factor changes another's effect.

High temperature helps with a short bake and hurts with a long one. Testing one factor at a time cannot see this.

Aliasing and resolutionThe price of fewer runs.

Fractional designs mix some effects together. Resolution says which: in Resolution IV, main effects are clean.

RandomizationRun order is part of the design.

Running in random order stops drift, warm-up and operator changes from looking like effects.

1Choose the design

What kind of experiment do you need?

Answer the questions. The page recommends the design and explains why; you do not need to know the design names.

    2Set the factors

    Name the factors and their ranges

    Low and high should be far enough apart to show an effect, and both must be safe to run. The defaults are a snack bar example; overwrite them.

    The run order is randomized with the seed, so the same seed gives the same sheet.
    3
    Run it in the run order

    Use the sheet as printed. Record the result in the response column and leave the design columns unchanged.

    4
    Bring the results back

    The completed sheet is analyzed in this page. Nothing is uploaded.

    4Upload and analyze

    Completed the runs?

    Upload the completed sheet, or any designed-experiment table with one row per run. Check the columns, then analyze.

    Drop the completed sheet here CSV or XLSX · one row per run
    Your data stays in your browser.
    5Local analysis

    Analysis

    Calculated locally
    02 · Key drivers in production data

    Many factors, one result. Which few are worth testing?

    Production records hold dozens of settings for every batch. Machine learning can rank them against the result, but history only shows what moved together. The honest output is a short list of candidates to confirm with a designed experiment.

    What you get 2 to 4 adjustable inputs to test next, with the evidence behind each.

    Not a root cause. The list goes straight into the design of experiments module for confirmation.

    Correlation is not causationHistory shows company, not cause.

    Two settings that moved together last quarter may both follow a third thing nobody logged.

    LeakageSome columns already know the answer.

    Rework, holds and complaints are recorded after the result. They predict perfectly and help nothing.

    CollinearityTwins split the credit.

    Neighbouring zone temperatures move together, so each looks half as important as the pair really is.

    Predictive is not adjustableYou cannot set "supplier B".

    Groupings like supplier, line and shift point to a mechanism. The lever is the property behind them.

    1Choose the approach

    What do you want from the data?

    The answers pick the model family. The local first pass is the same; the AI prompt follows the method chosen here.

    2Upload

    Load the production table

    One row per batch, lot or time interval. Columns for settings, materials and conditions, plus the result.

    Drop the production table here CSV or XLSX · first row holds the column names
    Your data stays in your browser.
    3Tag the columns

    When is each column known, and can you set it?

    Columns recorded after the result are leakage and are left out. Groupings you cannot set stay in the model but stay off the shortlist. Suggestions are filled in; check them.

    Ranks each input three ways and fits a random forest. A few seconds for a few thousand rows.
    4Local first pass

    Candidate drivers

    Calculated locally
    03 · Bayesian optimization

    Each trial is expensive. Let the results pick the next one.

    When a pilot run costs a day, the usual move is to refine around the best result so far. That feels safe and gets stuck on the first good hill. Bayesian optimization fits a model with error bars to every result, then picks the next trial where the gain is likely, or where nobody has looked yet. It usually reaches a better setting in fewer runs than a full response surface design.

    Surrogate modelA smooth guess with error bars.

    A Gaussian process predicts the result at every setting and says how sure it is. Near tested points it is sure; far from them it is not.

    Explore or exploitWhere it looks good, or where nobody looked.

    Refining near the best wins small gains. A trial in an untested corner can find a better hill. The method weighs both.

    Expected improvementHow much better the next trial could be.

    Averaged over what the model thinks could happen there. The setting with the highest value is the next trial.

    When to stopWhen another trial is not worth its cost.

    Once the expected gain is smaller than the run-to-run noise, repeat the best setting to confirm it and stop.

    1Check the fit

    Is Bayesian optimization the right tool?

    It is built for one job: reaching the best setting in as few trials as possible, when results come back one round at a time.

      2Set up the study

      Factors, ranges and what counts as better

      Every setting the page suggests stays inside these ranges and is rounded to the step you enter. The defaults are a cookie line example; overwrite them.

      Responses

      One result to improve. Add up to two limits that every good setting must also meet, such as moisture or cost.

      3Results so far

      One table for every trial

      Start with a spread of runs across the ranges, or bring earlier trials. Type each result in when it comes back. The table is kept in this browser until you clear it.

      Saved in this browser

      4
      Run the suggested trials

      Add them to the table, run them, and type in the results. Keep everything else the same as in earlier runs.

      5
      Ask again

      Each round the model learns from every result so far. Stop when the expected gain drops below the noise.

      4Next trials

      Next trials

      Calculated locally