prima·bench
Repo ↗

Structure & family · gene eval

is_tf

humanTFs (Lambert 2018) genome-wide TF identification (K=2, not_tf/tf) — per-gene binary classification over protein-coding genes at natural prevalence (1,639 TFs). gene_view input; train carries the binary label, test is held out, solution carries the test labels. Operating-point threshold fixed on train (Youden).

Structure & family Binary classification sample_classification
01

Spec

TargethumanTFs (Lambert 2018) genome-wide TF identification (K=2, not_tf/tf) — per-gene binary classification over protein-coding genes at natural prevalence (1,639 TFs). gene_view input; train carries the binary label, test is held out, solution carries the test labels. Operating-point threshold fixed on train (Youden).
AxisStructure & family — Protein domains, families, and classes.
Shape Binary classification · metric family: auroc
Tasksample_classification / sample_classification
Datasetlambert_2018_cell/is_tf@0.0.1
Publicationlambert_2018_cell
Metrics
  • sample_auroc
  • sample_sensitivity
  • sample_specificity
  • sample_accuracy
  • sample_f1
  • sample_mcc
  • sample_balanced_accuracy
  • sample_auprc
  • sample_score_correlation
Temporal discoveryno — held-out genes
License Declared per SPDX in the dataset's recipe README ↗ (commercial-use gated by CI).
References

IO contract

operating_threshold_column
operating_threshold
optional_metadata
cohort, disease, assay, split, donor_id
pairing_key
sample_id
prediction_format
(n, K) per-class scores; (n, 1) accepted at K=2
required_metadata
sample_id
target_kind
multiclass_index
02

What the prediction looks like

This eval has the binary classification shape. The figure is seeded to it — drag the control to watch the score respond.

Shape 3binary call · classificationAUROC + MCC

Yes or no — and where do you draw the line?

Used by is-TF · constrained (LOEUF<0.6) · ClinGen haplo / triplo

called + →0.000.250.500.751.00model P(gene is a TF)transcription factors (8%)other coding genes
Sensitivity95%
Specificity98%
Precision78%
Positives8%

Two populations, one score axis. Moving the threshold trades sensitivity for specificity. When positives are rare (is-TF is ~8%), accuracy misleads and precision gets brutal — so the panel scores threshold-free AUROC plus MCC and balanced accuracy.

03

Run it

Fetch the censored splits, predict, score — task and dataset filled in.

import prima_bench as pb

# Downloads on demand into the local cache; returns local Paths.
train_path, test_path = pb.fetch_data(task="sample_classification", dataset="lambert_2018_cell/is_tf@0.0.1")
train = pb.load(train_path, task="sample_classification", split="train", dataset="lambert_2018_cell/is_tf@0.0.1")
test = pb.load(test_path, task="sample_classification", split="test", dataset="lambert_2018_cell/is_tf@0.0.1")

# Your model produces predictions aligned to the eval input.
predictions = my_model(test)

# Score against the censored solution over this task's metric panel:
#   sample_auroc, sample_sensitivity, sample_specificity, sample_accuracy, sample_f1, sample_mcc, sample_balanced_accuracy, sample_auprc, sample_score_correlation
run = pb.Evaluation(task="sample_classification", dataset="lambert_2018_cell/is_tf@0.0.1")
run.update(predictions=predictions)   # one-shot; or stream shard-by-shard
result = run.compute()                # -> EvalResult
print(result)
04

Results

Awaiting scored models — the row scaffold is live; numbers land with results.json.

Awaiting results · prima-bench

is_tf · leaderboard

1 evals · 1 datasets · no models scored yet

Evals
1
graded
Datasets
1
sources
Models
pending
Best score
pending
No results.json wired up yet. The eval scaffold below is live; drop a document matching src/data/results.schema.md at src/data/results.json (or pass a results prop) and every bar fills in. Each track's tick marks the chance baseline.

Sample Classification

1
EvalScoreawaiting
is_tflambert_2018_cell/is_tf@0.0.1
sample_auroc
Scored with prima-bench · fill = metric value · tick = chance baseline · higher is better unless a metric is marked ↓.