RODRIGO PANTOJA / REPRODUCIBLE ML ENGINEERING
PORTFOLIO LAB 013 RESEARCH SERIES

◈ ModelOps
Research Lab

From an academic NLP dataset to reproducible machine-learning experiments. Train four transparent text classifiers in your browser, inspect domain shift and errors, and export every result.

EN · ES · PTBrowser-only trainingDataset & model lineageNo paid inference
Loading local research data and training models…
No saved experiment yet
AT A GLANCE

Model evaluation dashboard

All displayed scores are recomputed in your browser from the supplied labeled examples.

Training models…
LEADERBOARD

Baseline comparison

Four independently scored predictions: word Naive Bayes, word TF-IDF centroid, character TF-IDF centroid, and a weighted word/character hybrid. Scores are diagnostic, not safety ratings.

EXPERIMENT INSIGHT

Generalization gap

IMPORTANT

A large IID-to-challenge gap indicates the limits of a controlled synthetic test set. The original Python model is archived separately, not presented as a head-to-head result.

ERROR DISTRIBUTION

Confusion matrix

RESEARCH DESIGN

Fixed evaluation partitions

Partitions come from the original Academic Rhetorical Intent Mini v1.1 dataset, not a freshly randomized split. Train rows never enter evaluation.

EXPERIMENT CONTROL

Reproduce, compare, record

Training is performed locally each time you run an experiment. The seed controls the bootstrap resampling, not the deterministic model fitting.

Bootstrapped uncertainty describes sampling variation in this specific synthetic evaluation set. It is not a model training or deployment uncertainty estimate.

Run a benchmark to see the results and 95% sample bootstrap intervals.

LOCAL EXPERIMENT REGISTRY

Run history

Up to 15 summaries are saved in this browser only. No raw academic text is stored in local storage.

SUBGROUP EVALUATION

Where each method succeeds or fails

Inspect performance by language, research domain, and rhetorical label. Small slices are descriptive only, not fairness certifications. Macro F1 averages labels that actually occur in the selected group.

Performance by language

Performance by domain

Per-label metrics

FAILURE ANALYSIS

Inspect individual mistakes

Unlike a single score, the error explorer shows exactly what the method predicted and what the source label was.

ON-DEVICE INFERENCE

Test your own sentence

Paste one academic-style sentence. No text is uploaded to a server. The displayed model scores are heuristic ranking signals, not calibrated probabilities.

DOMAIN SHIFT

Beyond the easy test score

Contrast controlled test outcomes against unseen patterns. This is a controlled synthetic shift analysis, not a real-world external evaluation.

Accuracy across evaluation settings

PREVIOUS MODEL EVIDENCE

Archived Python classifier

NOT COMPARABLE DIRECTLY
100%Controlled IID (130)
79.6%Novel challenge (54)
35.7%PubMed development smoke (28)

These archived figures belong to a different Python TF-IDF classification pipeline and a distinct external biomedical sample. They come from the original project's evaluation results, not from this browser implementation. The 28-sentence sample is too small to establish general deployment performance.

DATA QUALITY

Train/test integrity & provenance

The dataset was synthetically curated for this research portfolio. Audit checks make label coverage, partition sizes, and exact leakage signals visible.

Dataset composition

Leakage & integrity checks

Limitations and appropriate use

All examples in the original dataset are synthetic-curated. High accuracy can reflect repeated linguistic templates rather than general understanding. The challenge set is a harder fixed test; it is not a substitute for independent human-labeled real-world evaluation.

Do not use this system to grade students, evaluate academic integrity, screen admissions, determine employment outcomes, or certify scholarly quality.

REPRODUCIBILITY & GOVERNANCE

Take every result with you

This project ships the entire evaluation dataset and executable JavaScript source. No hidden inference API, tokens, or remote server are required.

Export a reproducible record

Exports are generated locally, recording the evaluation split, method, seed, source version, and methodology notes.

Release methodology

  1. Use original fixed train / IID / challenge partitions.
  2. Fit each classifier to the same 842 training examples.
  3. Generate one prediction per held-out example.
  4. Evaluate Accuracy, Macro F1, confusion matrix and language/domain slices.
  5. Bootstrap accuracy over the chosen held-out sample with a fixed seed.
  6. Record data lineage and separate synthetic from real-world evidence.

Model governance

Data license: CC BY 4.0 (attributed to Academic Rhetorical Intent Mini). Code license: MIT.

Privacy: training and inference run entirely in the browser. History summaries, if enabled, remain in local browser storage.

Risk: These are interpretable baselines. The benchmark does not establish robustness outside controlled data or authorize consequential decisions about people.

What is inside the published repository?

Loading release inventory…