Workspace

Human-in-the-loop chemometrics

Model spectra in your own words.

Design spectral experiments with an LLM in plain language. The harness checks the validation rules, and you decide what to try next from the recorded evidence.

Corn moisture studyInteractive workflow

Scientific rules · Corn moisture study

Check the sample split before comparing prediction errors

Does smoothing improve corn moisture prediction? The LLM proposes comparing raw and smoothed spectra on the same folds. First, inspect a split the harness would reject.

Illustrative fold

Fit blocked
TrainingC-01 / AC-02 / A
ValidationC-01 / BC-02 / B

Scans A and B of C-01 fall on opposite sides, as do the scans of C-02. Validation would reuse samples seen in training.

View spectra, all three errors and model settings
Corn moisture
Recorded comparison · Fig. 3A

51 development samples · 5-fold grouped CV · PLS

Schematic NIR spectraRaw signal
Illustrative curves over increasing wavelength.
Relative intensityWavelength →
Development cross-validation error for three preprocessing methods. Bars start at zero.
View a methodRMSECVLV
0.0129913
0.0130113
0.0271214

All three PLS fits used the same samples and folds. Each considered 1–15 latent variables under the one-standard-error rule. RMSECV measures development error. SG denotes Savitzky–Golay. Curves are schematic. Errors are from the ChemomHarness Application Note, Fig. 3A.

Watch this study unfold32 sec · English film

Research handoff

Where the next researcher can begin

Dossier lineage Compare several methods on one route, or branch from a recorded message to explore a different direction.
Shared study history Fork from a recorded message
Original route
Raw spectra SG smoothing First derivative
New branch
SNV correction PLSExample export point

Both routes keep their own study records. The marked point is just one example; exports are available at other eligible points.

Exploration dossier

Continue a study

Trace a fork to its starting step, recover the stated reason for a choice, and see which question is still open. Failed and blocked attempts stay in the history.

Walkthrough decisionNo decision selected

Model dossier

Reconstruct a fit

Inspect the model’s data and exact folds, preprocessing settings and software versions. With the required materials, a new agent can rerun a supported method and compare its predictions with the recorded ones.

Standalone inference package

Predict new samples

For supported models, apply the fitted processing chain and fixed model to compatible spectra in a separate Python environment. The package uses the saved parameters.

Algorithm plug-ins

Bring your own algorithms into a study

Researchers install and enable a plug-in for the step they want to extend. The LLM can call it in an authorized plan. The harness checks the data scope for that step and records the plug-in version.

Diagnostics
Return per-scan measures for review.
Splitting & validation
Propose holdout sets or cross-validation folds.
Preprocessing
Transform spectra using the permitted fit data.
Band selection
Select input channels for a PLS fit.
Regression models
Fit a global, single-target model with fixed settings.
Inside a preprocessing plug-in · Median centering

This plug-in takes the median at each wavelength across one fold’s training spectra. It saves that spectrum and subtracts it from every validation scan in the fold.

Median centeringOne fold · Synthetic spectra

Fit on training spectra

Training scansSaved median
Reuse center

Transform a validation scan

RawCentered
Validation sample
example.median_center · v1.0.0

Switch between validation samples A and B to see their centered spectra. Both use the same saved median. The study records the fitted center and plug-in version for each fold.

Open spectral data

Choose spectra for your first study.

Start with moisture or protein. Choose a grain, tell the workbench what you want to predict, then inspect the spectra and compare models.

sensAIfood · Dataset v2 · CC BY 4.0

京ICP备2026082435号-1