Research prototype. Outputs are experimental and are not clinical recommendations. Never start, stop, or change supplements based on this tool — consult a qualified healthcare professional.

MatNutri AI

Synthetic research dashboard

Dataset & model overview

A completed sample-data experiment for academic demonstration. These are calculated model results on fictional records—not real maternal health findings.

Synthetic demonstration only. Labels are arbitrary noisy equations, not diagnosed deficiencies or treatment decisions. Clinical validation remains uncompleted.

Synthetic records

600

480 train · 120 test

Input features

8

3 artificial targets

Models trained

2

+ majority baseline

Best mean F1

65.2%

Logistic regression

Model comparison

120 held-out records · metrics averaged across three artificial targets · positive-class precision, recall and F1

Synthetic test-set model scores
ModelAccuracyPrecisionRecallF1
Majority baseline64.2%0.0%0.0%0.0%
Logistic regressionBest mean F178.9%71.8%60.5%65.2%
Gradient boosting75.6%64.8%52.3%57.4%

Artificial label distribution

iron

Label 1: 280 · Label 0: 320

Train label 1: 224 · Test label 1: 56

folic acid

Label 1: 172 · Label 0: 428

Train label 1: 140 · Test label 1: 32

calcium

Label 1: 202 · Label 0: 398

Train label 1: 161 · Test label 1: 41

Label 0 and label 1 are synthetic classes, not healthy/deficient diagnoses. Split stratified by the iron demo label only.

Confusion matrices

iron

Logistic regression iron confusion matrix
ActualPred. 0Pred. 1
05212
11145

Positive-class F1: 79.6%

folic acid

Logistic regression folic acid confusion matrix
ActualPred. 0Pred. 1
07810
11616

Positive-class F1: 55.2%

calcium

Logistic regression calcium confusion matrix
ActualPred. 0Pred. 1
0727
12021

Positive-class F1: 60.9%

Completed demonstration pipeline

  1. Synthetic dataset generated

    600 fictional records; eight inputs and three artificial binary labels. No patient information.

  2. Preprocessing completed

    480 training / 120 test records; no missing values or duplicates. Logistic regression scaling fitted on training data only.

  3. Models trained

    Logistic regression and gradient boosting, plus a majority-class baseline; fixed seed 42, no hyperparameter tuning.

  4. Held-out evaluation completed

    Accuracy, precision, recall, F1 and confusion matrices calculated on the untouched test split.

  5. Demo report available

    Dataset, split membership, model scores, label equations and limitations are included in the downloads.

Reproducibility & limitations

Seed 42 · scikit-learn 1.7.2 · 80/20 split. The downloadable report contains the exact label equations; the project includes the generation and training script.

  • All records and labels are generated, not observed patients.
  • Labels reproduce arbitrary noisy equations, not diagnosed deficiencies or supplementation recommendations.
  • One fixed holdout split; no tuning, external validation, calibration or confidence intervals.
  • Results demonstrate learning synthetic patterns only; they do not establish clinical validity.
  • The AI assessment is a separate educational language-model feature and does not use these classifiers.

Real-world study: still requires an ethically sourced dataset and independent clinical validation.