Average precision vs. PR AUC: why the numbers differ
Compute average precision and trapezoidal PR AUC from four scored examples. See exactly which segment of the precision–recall curve changes the reported area.
Machine Learning3 min read
Tag
7 articles with this tag.
Compute average precision and trapezoidal PR AUC from four scored examples. See exactly which segment of the precision–recall curve changes the reported area.
Machine Learning3 min read
Rank three vectors by cosine similarity and dot product, then normalize them. Learn why a longer embedding can win and how to check a search index migration.
Artificial Intelligence3 min read
Reproduce 99% accuracy and zero positive-class recall in scikit-learn. Read the confusion matrix and see the cost of changing the decision threshold.
Machine Learning4 min read
Calculate macro, weighted and micro F1 on the same 100 tickets. See how a model can score 0.90 on micro F1 while missing an entire support queue.
Machine Learning3 min read
Run a four-question retrieval test on extracted PDF table rows. Compare row-only chunks with repeated headers and separate retrieval errors from answer errors.
Artificial Intelligence4 min read
Score the same ranked documents with Recall@3, hit rate and MRR@3. See which metric detects missing evidence and which detects a useful result arriving late.
Artificial Intelligence3 min read
Use GroupShuffleSplit to keep each customer in one partition. Check for overlapping IDs and see how a row split can inflate an evaluation score.
Machine Learning4 min read