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.

13 learnerstuned and cross-validated in parallel
1 programRust, no code and nothing else to install
34 checksNONMEM dataset checks with row numbers
9 examplesready-made projects with known models

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

--days
--hours
--min
--sec

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.

StepCommandsWhat you get
Look at the datainspect, check, summary, correlationsColumn types, quality checks with row numbers, Table 1 and associations
Preparedata, impute, R-style --filter and --mutateCleaned, harmonised data written back out
Find what mattersfeatures, covariatesRanked drivers and covariates with a verdict for each
LearntrainTuned models, a leaderboard, calibrated intervals and a report
Use the modelpredict, evaluate, queryScores with intervals, external validation and what-if answers
Understandexplain, outliersImportance, partial dependence, ICE curves and unusual rows
Keep learningupdate, compareNew data added, the model refined and both versions compared
Make practice datagenerateSynthetic 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/BWT become WT, 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.

Disclaimer

Personal work, personal opinions. HyperPKPD, including this website, its software, source code, documentation, articles and news, is the independent personal work of Obinna (Obi) Obianom. All views, opinions, statements and code are solely his own. They do not represent, reflect or constitute the views, opinions, policies, positions or endorsement of his employer, past or present, or of any other company, institution, client or organization with which he is or has been affiliated.

No affiliation or endorsement. This work was developed independently, on personal time and with personal resources. It is not created, sponsored, reviewed, approved, validated or endorsed by his employer, and it uses no confidential, proprietary or non-public information belonging to any employer or third party. Any mention of a company, product or trademark (for example NONMEM) is for identification and compatibility only, and does not imply affiliation with or endorsement by its owner. All trademarks belong to their respective owners.

No warranty. The software, content and information are provided “as is”, without warranty of any kind, express or implied, including merchantability, fitness for a particular purpose, accuracy, completeness and non-infringement. Results, including statistical, pharmacometric and machine learning outputs, are recommendations that must be independently verified by a qualified person before use.

Not professional or regulatory advice. Nothing here is medical, clinical, regulatory, legal or professional advice, and nothing is intended for clinical decision-making, dose selection or regulatory submission without independent qualification and validation. Educational tools such as Tutor are for learning only.

Limitation of liability. To the fullest extent permitted by law, the author shall not be liable for any claim, damages or other liability arising from the use of, or inability to use, this website or its software or content. You are responsible for how you use them, and for complying with the policies of your own organization and with applicable laws, data protection and confidentiality obligations. Do not upload confidential or patient-level data to any tool that your organization has not approved for it.

Licensing and links. Software is released under the license stated in each project (see the project pages). Third-party sites linked from here are not controlled by the author, who is not responsible for their content. For questions, contact obinna@obianom.com.