Confusion Matrix — 3-class (CSV)
A 3-class confusion matrix as CSV — rows are the true class, columns the predicted class, cells the counts. Paired with a JSON twin for testing metric parsers and evaluation visualisers.
actual,person,car,tree
person,48,3,1
car,4,51,2
tree,2,1,44
Specifications
- Classes
- 3
- Labels
- person, car, tree
- Layout
- rows = actual, columns = predicted
What is a .csv file?
CSV (Comma-Separated Values) is a plain-text tabular format where rows are lines and fields are separated by commas, with quoting rules for values that contain delimiters, quotes, or newlines. It has no formal type system and depends on encoding and dialect conventions. It is the most portable format for tabular data exchange.
How to use this file
Use an example CSV to test parsers against quoting and embedded-delimiter edge cases, header handling, encoding detection, and import pipelines into databases or spreadsheets.
How to use this file for testing
“Confusion Matrix — 3-class (CSV)” is a deterministic Novus Examples fixture for Model evaluation, CSV parsing, Conversion testing. Benchmark results, confusion matrices, ROC curves, and classification reports in CSV and JSON — for testing eval dashboards, metric parsers, and leaderboard importers.
Documented properties for this file: CSV · 64 bytes. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.
AI/ML fixtures are fully synthetic with documented schemas — no real people or data. Test data loaders, tokenizers, annotation converters, embedding/vector stores, or eval-metric parsers against the known structure and fixed seeds.
Code examples
import pandas as pd
df = pd.read_csv("confusion-matrix.csv")
print(df.head())
print(df.dtypes)Related files
- csvConfusion Matrix — 3 Classes (CSV)3×3 confusion matrix CSV for classification metric calculators.

- csvROC Curve Points (CSV)An ROC curve as CSV — decision threshold with the corresponding false-positive and true-positive rates, monotonic from (0,0) to (1,1). A fixture for testing chart tools and AUC calculators.

- onnxONNX Inference Contract - Affine MatMul plus Add ModelA two-node affine transform with fixed weights and bias, exercising initializers, MatMul dimensions and Add broadcasting. The matching JSON input and expected output make the model immediately usable in a CI inference assertion.

- onnxONNX Inference Contract - Dynamic-Batch ReduceSum ModelA ReduceSum graph with a symbolic batch dimension and fixed feature width, for dynamic-shape import and batch-output tests. The matching JSON input and expected output make the model immediately usable in a CI inference assertion.

- onnxONNX Inference Contract - Static Identity ModelA one-node identity graph with a fixed 1x4 float tensor, useful as the smallest loader and inference smoke test. The matching JSON input and expected output make the model immediately usable in a CI inference assertion.

- onnxONNX Inference Contract - Two-Input Broadcast Add ModelA two-input Add graph where a length-two bias broadcasts across a 2x2 matrix, checking input binding and broadcasting rules. The matching JSON input and expected output make the model immediately usable in a CI inference assertion.

Generated by generation/ai_datasets.py. Free for any use, no attribution required — license.