Quest 02 / 03 · Quick build
Plot error tradeoffs in a labeled AI-text detector
- classification
- confusion matrices
- marimo
Why now Mistral describes a watermark method and text detector, while its technical post does not establish independent replication. Use a labeled text dataset to show how a simple detector's false-positive and false-negative rates move as its threshold changes, without presenting the result as a test of Mistral's system.
Build it Train a small text classifier and chart its error rates at several decision thresholds. Keep the evaluation limited to the inspected data and its labels.
From the news
Tools
- marimo
The local marimo notebook is free Apache 2.0 software. Hosted products, optional assistants and remote data services have separate terms; their paid entitlements are not established here.
Data
- AI vs Human Content Detection 1000+ record in 2025 Kaggle
Supply labeled text and available features for a small classifier and threshold evaluation.
Steps
- Download the dataset and inspect its columns, labels, and feature definitions before choosing model inputs.
- Set aside a held-out split and record the split method and label mapping.
- Fit a simple baseline and compute a confusion matrix at several thresholds on the held-out rows.
- Plot false-positive and false-negative rates together, with a note limiting the finding to this dataset.
Done when
- The notebook prints both error rates for each tested threshold on held-out data.
- A plot makes the threshold tradeoff visible, and the label mapping and split method are recorded.
