promptdojo_

Probability and baselines before models — step 6 of 7

Write baseline_report(labels) — the two lines every notebook should start with. Print n and the positive rate, then the majority class and the majority-class baseline accuracy (formatted with :.0%).

full-screen editor opens — close anytime to keep reading.