mlmx
Machine learning for tables and pharmacometrics. Any table or NONMEM dataset in; models, predictions, explanations and answers out, from the command line and without writing code. One fast, reproducible program, launching February 2027.
mlmx launches in February 2027
The downloads, documentation and examples will appear here at launch. Until then, read what it does below, or get in touch to hear about early access.
Launching February 2027
Learn from your data without writing code
Give mlmx a table and a column to learn. It detects the column types, repairs what is safe, tunes and cross-validates 13 learners on every core, picks the best learner or an ensemble, and writes everything to an output folder: models, predictions, tables, ggplot2-style plots, a report, the exact settings and checksums. That folder is a project you can use to predict, explain, ask what-if questions and refine with new data.
Any table, or NONMEM data
CSV, Excel, SAS (xpt, sas7bdat), Stata, JSON, gzip and zip. Column types are detected, dates become features and numbers stored as text (70 kg, <0.05) are repaired.
Checks and repairs before it learns
Duplicates, identifiers, constant columns, mixed-case labels, infinite values and rare classes are repaired or left out, and every repair is listed in preparation.csv.
13 learners, tuned in parallel
Linear, ridge, lasso, elastic net, k-NN, CART, random forest, extra trees, gradient boosting, neural networks and Gaussian processes, then the best learner or an ensemble.
Honest validation
Subjects, never rows, are split. The feature pipeline is fitted inside every fold, and external or leave-a-study-out validation is built in, with leakage checks.
Intervals you can trust
Split-conformal prediction intervals checked on test subjects, plus an applicability-domain flag on every prediction.
Pharmacometric awareness
ID, TIME, DV, EVID, AMT, ADDL, II, SS, DVID, BLQ and more are understood. Dose history becomes features, endpoints are separated by DVID and covariates are ranked with a pseudo-ETA screen.
One model per group
--strata SEX learns a model per stratum and a pooled one, compares them, and predicts each row with its stratum's model.
Explain and ask what-if
Importance, partial dependence and ICE curves, outlier detection and query for virtual populations and dosing regimens.
Reproducible by design
Same results for any thread count, exact reruns from settings_used.mlmx, SHA-256 of every file and a full run log.
Every step, one command each
Commands follow the order of a real analysis. Each one writes its own tables, report and figures.
| Step | Commands | What you get |
|---|---|---|
| Look at the data | inspect, check, summary, correlations | Column types, quality checks with row numbers, Table 1 and associations |
| Prepare | data, impute, R-style --filter and --mutate | Cleaned, harmonised data written back out |
| Find what matters | features, covariates | Ranked drivers and covariates with a verdict for each |
| Learn | train | Tuned models, a leaderboard, calibrated intervals and a report |
| Use the model | predict, evaluate, query | Scores with intervals, external validation and what-if answers |
| Understand | explain, outliers | Importance, partial dependence, ICE curves and unusual rows |
| Keep learning | update, compare | New data added, the model refined and both versions compared |
| Make practice data | generate | Synthetic tables and NONMEM projects from a known model |
It reads NONMEM data the way you do
Whether a file is a general table or NONMEM-style data is decided from its column names, so one program serves data scientists, analysts, students and pharmacometricians.
- Harmonises studies.
WEIGHT/BW/BWTbecomeWT, units are converted and different codings are reported, with subjects of different studies kept apart. - Understands records. Doses (EVID 1/4, ADDL/II, SS, infusions, resets) and observations are told apart, and DVID separates endpoints such as PK and PD.
- Ranks covariates. Pseudo-ETA screen, permutation importance, SCM-like selection, stability selection and a verdict per covariate.
- Predicts regimens. Concentration-time courses for a dosing regimen in a virtual population.
- Individualises. Bayesian shrinkage from a subject's own observations, as in TDM.
- Generates practice data. Synthetic NONMEM projects of 1 to 6 studies, oral, IV or infusion, from a known model.
What a session looks like
Every line is one command. mlmx <command> --help shows the options, and mlmx search answers questions in your own words.
# what drives churn, then a model and new scores
mlmx inspect customers.csv
mlmx check customers.csv -o out/check
mlmx features customers.csv -t churned -o out/drivers
mlmx train customers.csv -t churned -o out/churn
mlmx predict -p out/churn new_customers.csv -o out/scores
# one model per plan, compared with a pooled one
mlmx train customers.csv -t churned --strata PLAN -o out/by_plan
# NONMEM-style data: covariates and a dosing what-if
mlmx covariates pk*.csv -t DV@1 --derive BMI,CRCL -o out/cov
mlmx query -p out/pk -t DV@1 --where WT=50:70 --dose 100 --ii 24 --addl 6 --times 144:168:2 -o out/regimen
# or search the manual in your own words
mlmx search how do I handle missing values
Illustrative commands from the mlmx documentation, for version 1.9.0.
Frequently asked questions
What is mlmx?
mlmx is a single, fast, reproducible command-line program written in Rust. Give it a table (CSV, Excel, SAS, Stata, JSON) or a NONMEM-style dataset and a column to learn, and it checks and repairs the data, tunes and cross-validates 13 learners in parallel, and writes models, predictions, tables, plots and a report to a project folder.
When is mlmx available?
mlmx launches in February 2027.
Does mlmx need NONMEM or programming skills?
No. mlmx runs from the command line with no code and needs no other software at run time. It understands NONMEM-style datasets, but it also works on any ordinary table.
How does mlmx validate its models?
It splits subjects, never rows, uses grouped repeated cross-validation with the feature pipeline fitted inside every fold, supports external test datasets and leave-a-study-out validation, checks for leakage, and calibrates split-conformal prediction intervals that are checked on the test subjects.
Is mlmx reproducible?
Yes. Results are the same for any number of threads, settings_used.mlmx reruns any project exactly, and every input and output has a SHA-256 checksum, with a full transcript in run.log.